PublisherPrima

Publisher-specific class for iPrima


Constructor

new PublisherPrima(main)

Constructor of PublisherPrima class

Parameters
Name Type Description
main Object

Instance of the main CpexPackage class

Methods

(async) getAdUnitElementId(hbKey) → {Promise.<(string|null)>} @internal

Used for header-bidding (must be async for consistency with all publishers)

Parameters
Name Type Description
hbKey string

Header bidding key

Returns

Element ID or null

Type: 
Promise.<(string|null)>