Table of Contents |
---|
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().
...
Code Block |
---|
CallbackResult = {
message: "<string holding a debug log of the function call result>",
data: <Array holding all the ad unit names for this publisher>
}COPY |
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.
...