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().

Syntax

function adngin.cmd.getAvailableAdUnitNames(parameter, callback)

...

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 the first argument of the provided callback function.

...