Class GoogleImaAdDescription
-
- All Implemented Interfaces:
public class GoogleImaAdDescription extends AdDescription
Describes a Google IMA ad break request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
GoogleImaAdDescription.Builder
The builder for the GoogleImaAdDescription.
-
Field Summary
Fields Modifier and Type Field Description public final String
sources
public final String
timeOffset
public final AdIntegration
integration
-
Method Summary
Modifier and Type Method Description String
getSources()
A source which contains the location of the ad resources to be scheduled. String
getTimeOffset()
The offset after which the ad break will start. -
-
Method Detail
-
getSources
@NonNull() String getSources()
A source which contains the location of the ad resources to be scheduled.
- This should *not* be an array of sources.
- VPAID support is limited to the 'google-ima' integration.
- Returns:
The URI which contains the location of ad resources to be scheduled. (NonNull)
-
getTimeOffset
@Nullable() String getTimeOffset()
The offset after which the ad break will start.
- VMAP resources will ignore this value as they contain an internal offset.
- A number for the offset in seconds.
- A percentage string (XX%) for a proportion of the content duration.
- A time-description specifying "start" or "end".
- A timestamp of the format: 00:00:10.000.
- Returns:
The time offset after which the ad break will start. (Nullable)
-
-
-
-