AdServerPaticka

Paticka adapter for Smart AdServer (used by Economia)


Constructor

new AdServerPaticka(main)

Constructor of Paticka adapter

Parameters
Name Type Description
main Object

Instance of the main CpexPackage class

Methods

(async) call(adUnitsopt) @public

Mandatory. Calls the adserver to get the final ads selected and rendered

Parameters
Name Type Attributes Description
adUnits Array.<string> <optional>

Optional array of adUnit names


(async) getAdsList() @internal

Mandatory. Returns (as a promise) an array of elementIds, to be used as headerbidding adUnits


load() @internal

Mandatory. Initializes an adserver based on settings


patickaReRender()

Temporary fallback for migration to publisher interface

Deprecated
  • Yes