public interface Ad
Modifier and Type | Method and Description |
---|---|
AdBreak |
getAdBreak()
A reference to the AdBreak of which the ad is a part of.
|
List<CompanionAd> |
getCompanions()
The List of CompanionAds associated to the ad, if available within the same Creatives element.
|
String |
getId()
The identifier of the creative, provided in the VAST-file.
|
AdIntegrationKind |
getIntegration()
The type of ad integration.
|
int |
getSkipOffset()
The number of seconds after which the Ad can be skipped.
|
String |
getType()
The type of the Ad.
|
String getId()
List<CompanionAd> getCompanions()
String getType()
- It can be either 'linear' or 'nonlinear', depending on the concrete implementor.
AdBreak getAdBreak()
int getSkipOffset()
- Only available when the ad is skippable. - Only available for LinearAd.
AdIntegrationKind getIntegration()
- For all possibilities, see: AdIntegrationKind
.