Namespace ima


The google.ima namespace provides access to the SDK's classes, interfaces, enumerations, and properties.
Enumerations
Available access modes for OMID for Web, which control how much the verification script can access.
Identifies an OMID verification vendor.
Enum specifying different UI elements that can be configured to be displayed or hidden.
Classes

This class represents a container for displaying ads.

AdsLoader allows clients to request ads from ad servers.
Defines parameters that control the rendering of ads.
A class for specifying properties of the ad request.
CompanionAdSelectionSettings object is used to define the selection criteria when calling the google.ima.Ad.getCompanionAds function.
Interfaces
An ad class that's extended by classes representing different ad types.
The cue point list represents a time-schedule of ad breaks.
AdError surfaces information to the user about whether a failure occurred during ad loading or playing.
This event is raised when an error occurs when loading an ad from the Google or DoubleClick servers.
This event type is raised by the ad as a notification when the ad state changes and when users interact with the ad.
An ad may be part of a pod of ads.
This object exposes information about the current progress as an ad is playing.
Provides the outer public API to the publisher and communicates with the inner instance of ads manager.
This event is raised when ads are successfully loaded from the Google or DoubleClick ad servers through an AdsLoader.
Represents a companion ad.
An event raised by the IMA SDK.
This class contains SDK-wide settings.
This object exposes information about the universal ad ID associated with the creative, including the ad ID value and the ad ID registry.
Variables
Object holding the SDK-wide settings.

Enumerations


OmidAccessMode

OmidAccessMode
Available access modes for OMID for Web, which control how much the verification script can access.
Enumeration Members
DOMAIN
Deprecated.  No longer supported. Access mode rules selecting DOMAIN are ignored and default to LIMITED.
FULL
The verification script has direct access to the creative and the publisher page.
LIMITED
The verification script is sandboxed and cannot access the creative or publisher page, and cannot directly confirm what publisher domain it is on.

OmidVerificationVendor

OmidVerificationVendor
Identifies an OMID verification vendor. Vendors are listed in alphabetical order.
Enumeration Members
COMSCORE
DOUBLEVERIFY
GOOGLE
INTEGRAL_ AD_ SCIENCE
MEETRICS
MOAT
NIELSEN
OTHER
The default vendor to use when the script URL doesn't match any other vendor.
PIXELATE

UiElements

UiElements
Enum specifying different UI elements that can be configured to be displayed or hidden. These settings may be ignored for AdSense and ADX ads.
Enumeration Members
AD_ ATTRIBUTION
Displays the "Ad" text in the ad UI. Must be present to show the countdown timer.
COUNTDOWN
Ad attribution is required for a countdown timer to be displayed. Both google.ima.UiElements.COUNTDOWN and google.ima.UiElements.AD_ATTRIBUTION must be present in AdsRenderingSettings.uiElements .

Variables


Const settings

settings : ImaSdkSettings
Object holding the SDK-wide settings.
Create a Mobile Website
View Site in Mobile | Classic
Share by: