Show Menu
Cheatography

Test Cheat Sheet (DRAFT) by

This is a test

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Clicks

clickT­hro­ugh­("cl­ick­TAG­")
getCli­ckU­rl(­"­cli­ckT­AG")
We recommend the use of the clickT­hrough function

Ad Server Variables

getCon­fig­Var­(name)
getDyn­ami­cVa­r(name)
getImp­res­sio­nVa­r(name)

Init

onceIn­iti­ali­zed­(ca­llback)

Ad Server Variables - Console

Name
Type
Value Type
Descri­ption
isLive
config­uration
boolean
True if the creative is in a live enviro­nment
adunit_id
config­uration
number
The ID of the configured creative in AdGear Console.
 

Events / Intera­ctions

countE­ven­t("m­yEv­ent­")
getEve­ntU­rl(­"­myE­ven­t")
We recommend the use of the clickT­­hrough function

Expand­ability

expand­Con­tai­ner()
collap­seC­ont­ainer()
getCol­lap­sed­Width()
getCol­lap­sed­Hei­ght()
getExp­and­edW­idth()
getExp­and­edH­eight()
setExp­and­edD­ime­nsi­ons­(width, height)
getExp­and­Dir­ect­ion()
onceEx­pan­ded­(ca­llback)
onceCo­lla­pse­d(c­all­back)