The properties below belong to the API object that is passed into a new component when it is loaded into an ad.
| Ad API | The properties below belong to the API object that is passed into a new component when it is loaded into an ad. |
| AdAPI Class | |
| Properties | |
| animation | An API for checking if auto initiated actions should run. |
| environment | An API for checking environment variables. |
| expand | An API for activating and deactivating expansions. |
| factory | A factory for getting new objects like containers, theme, feed parsers, etc. |
| library | An API for retrieving and changing component containers and descriptions. |
| message | A set of methods for controlling messaging between components. |
| net | A set of methods for controlling network-based actions like linking, sharing, event logging and cookies. |
| state | An API for getting and setting the state of a component. |
| util | An API containing some utility functions that are useful when writing a component. |
| Properties | |
| animation | An API for checking if auto initiated actions should run. |
| environment | An API for checking environment variables. |
| expand | An API for activating and deactivating expansions. |
| factory | A factory for getting new objects like containers, theme, feed parsers, etc. |
| library | An API for retrieving and changing component containers and descriptions. |
| message | A set of methods for controlling messaging between components. |
| net | A set of methods for controlling network-based actions like linking, sharing, event logging and cookies. |
| state | An API for getting and setting the state of a component. |
| util | An API containing some utility functions that are useful when writing a component. |
public function get animation():AnimationAPI
An API for checking if auto initiated actions should run.
See animation API for details.
public function get environment():EnvironmentAPI
An API for checking environment variables.
See environment API for details.
public function get expand():ExpandAPI
An API for activating and deactivating expansions.
See expand API for details.
public function get factory():Object
A factory for getting new objects like containers, theme, feed parsers, etc.
See factory API for details.
public function get library():LibraryAPI
An API for retrieving and changing component containers and descriptions.
See library API for details.
public function get message():MessageAPI
A set of methods for controlling messaging between components.
See message API for details.
public function get net():NetAPI
A set of methods for controlling network-based actions like linking, sharing, event logging and cookies.
See net API for details.
public function get state():StateAPI
An API for getting and setting the state of a component.
See state API for details.
public function get util():UtilAPI
An API containing some utility functions that are useful when writing a component.
See util API for details.
An API for checking if auto initiated actions should run.
public function get animation():AnimationAPI
An API for checking environment variables.
public function get environment():EnvironmentAPI
An API for activating and deactivating expansions.
public function get expand():ExpandAPI
A factory for getting new objects like containers, theme, feed parsers, etc.
public function get factory():Object
An API for retrieving and changing component containers and descriptions.
public function get library():LibraryAPI
A set of methods for controlling messaging between components.
public function get message():MessageAPI
A set of methods for controlling network-based actions like linking, sharing, event logging and cookies.
public function get net():NetAPI
An API for getting and setting the state of a component.
public function get state():StateAPI
An API containing some utility functions that are useful when writing a component.
public function get util():UtilAPI