public class GoogleImaAdDescription extends AdDescription
- Only available if THEOplayerConfig.isGoogleIma()
is true.
Modifier and Type | Class and Description |
---|---|
static class |
GoogleImaAdDescription.Builder
The builder for the
GoogleImaAdDescription . |
Constructor and Description |
---|
GoogleImaAdDescription(String sources)
Creates a GoogleImaAdDescription.
|
GoogleImaAdDescription(String sources,
String timeOffset)
Creates a GoogleImaAdDescription.
|
Modifier and Type | Method and 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.
|
getIntegration
public GoogleImaAdDescription(String sources)
sources
- A String representing the URIs of the sources of the ad. (NonNull)- The player only supports VAST and VMAP files.
public String getSources()
- This should *not* be an array of sources. - VPAID support is limited to the 'google-ima' integration.
public String getTimeOffset()
- VMAP resources will ignore this value as they contain an internal offset.Possible formats:
- A number for the offset in seconds. - A percentage string (XX%) for a proportion of the content duration.