JavaScript API documentation
Managed Mode
ManagedMode
: How to write callback functions for your layouts, and
other Managed Mode documentation.
Script Mode
API
: The main Script Mode interface to the MediaVoice plugin.
Ways to call the Script Mode API
The plugin has two different ways to gain access to the API interface. You can use either or both depending on your preference.
NATIVEADS
: This object lets you call API methods directly, but only
after the plugin notifies you that it has finished loading.
NATIVEADS_QUEUE
: This object lets you call API methods asynchronously,
without needing to wait for the plugin to finish loading first.