Techdocs

AMP Web SDK

AMP player

IMAConfig

Members

adTagUrl

:Object

adTagUrl represents the ad tag which IMA uses for the ad request, it could be eihter Object or in a string form.

Default Value:
  • null

autoPlayAdBreaks

:boolean

Indicates that ad breaks within a VMAP are automatically played.

Default Value:
  • true

disableCompanionAds

:boolean

Prevents companion ads rendering on flash. [deprecated]

Default Value:
  • false

disableCustomPlaybackForIOS10Plus

:boolean

When false, ads will play in the same player as your content

Default Value:
  • true

disableFlashAds

:boolean

Disables flash ads support. [deprecated]

Default Value:
  • false

resources

:array

Resources needed by AMP IMA plugin, the google IMA sdk must be specified within this property or through window variable.

Default Value:
  • null

vpaidAllowed

:boolean

Please use vpaidMode instead. [deprecated]

Default Value:
  • false

vpaidMode

:string

This property indicates to IMA how vpaid ads must be played, accepted values are ENABLED, DISABLED and INSECURE

Default Value:
  • "ENABLED"