Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Functionality

The function adngin.cmd.getAvailableAdUnitNames() returns a list of available ad-unit names configured in AdEngine for the site. It is usually used in the browser console to find out which ad-unit are available to declare active ad-units or pass to startAuction().

...

The callback function will receive the above object as the first parameter and a boolean value translating the function call success status as the second parameter.

Description

After calling the function, AdEngine will provide a list with the names of all configured ad units for the current site under the data field of the JSON object that is passed as first argument of the provided callback function.

...