Amazonbidder
Amazonbidder
new Amazonbidder(player, configopt, key)
Creates an instance of the Amazonbidder plugin.
Parameters
Name | Type | Attributes | Description |
---|---|---|---|
player |
akamai.amp.Player | The player instance |
|
config |
akamai.amp.amazonbidder.AmazonBidderConfig | Object |
<optional> |
The configuration override object, or JSON string. |
key |
string | The plugin identifier. |
Members
BID_REQUEST_TIMEOUT
(static) :number
Default timeout value for bid request method.
- Default Value:
- 2000
- See:
plugin
:Object
The apstag namespace, this should be passed through resources node or needs to be available in the DOM as window.apstag
Methods
getAdTag
getAdTag()
Request and processes the bid response from apstag.fetchBids method.
init
init()
initialize apstag configuration.