-
- All Implemented Interfaces:
public class GoogleImaAdDescription extends AdDescription
Describes a Google IMA ad break request.
- Only available if isGoogleIma is true.
-
-
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 private final String
sources
private final String
timeOffset
-
Constructor Summary
Constructors Constructor Description GoogleImaAdDescription(String sources)
Creates a GoogleImaAdDescription. GoogleImaAdDescription(String sources, String timeOffset)
Creates a GoogleImaAdDescription.
-
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. -
-
Constructor Detail
-
GoogleImaAdDescription
GoogleImaAdDescription(String sources)
Creates a GoogleImaAdDescription.- Parameters:
sources
- A String representing the URIs of the sources of the ad.
-
GoogleImaAdDescription
GoogleImaAdDescription(String sources, String timeOffset)
Creates a GoogleImaAdDescription.- Parameters:
sources
- A String representing the URIs of the sources of the ad.timeOffset
- The time offset when the ad should start, possible values are to be specified in seconds ("20"), a percentage ("10%"), a time-description ("start" or "end") or a timestamp ("00:00:10.000") .
-
-
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.
-
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.
-
-
-
-