-
- All Implemented Interfaces:
-
com.theoplayer.android.api.ads.Ad
public interface GoogleImaAd implements Ad
The GoogleImaAd API represents a Google IMA creative compliant to the VAST specification.
-
-
Method Summary
Modifier and Type Method Description abstract Ad
getImaAd()
The Ad object from the Google IMA SDK. abstract String
getAdSystem()
The source ad server information included in the ad response. abstract String
getCreativeId()
The identifier of the selected creative for the ad. abstract List<String>
getWrapperAdIds()
The list of wrapper ad identifiers as specified in the VAST response. abstract List<String>
getWrapperAdSystems()
The list of wrapper ad systems as specified in the VAST response. abstract List<String>
getWrapperCreativeIds()
The list of wrapper creative identifiers. abstract int
getVastMediaBitrate()
The bitrate of the currently playing creative as listed in the VAST response. abstract List<UniversalAdId>
getUniversalAdIds()
The list of universal ad ID information of the selected creative for the ad. abstract String
getTraffickingParameters()
A string with custom parameters associated with the ad at the time of ad trafficking. -
-
Method Detail
-
getImaAd
@NonNull() abstract Ad getImaAd()
The Ad object from the Google IMA SDK.
- Only available with the 'Unified Android' SDK.
-
getAdSystem
@Nullable() abstract String getAdSystem()
The source ad server information included in the ad response.
-
getCreativeId
@Nullable() abstract String getCreativeId()
The identifier of the selected creative for the ad.
-
getWrapperAdIds
@NonNull() abstract List<String> getWrapperAdIds()
The list of wrapper ad identifiers as specified in the VAST response.
-
getWrapperAdSystems
@NonNull() abstract List<String> getWrapperAdSystems()
The list of wrapper ad systems as specified in the VAST response.
-
getWrapperCreativeIds
@NonNull() abstract List<String> getWrapperCreativeIds()
The list of wrapper creative identifiers.
- Starts with the first wrapper ad.
-
getVastMediaBitrate
abstract int getVastMediaBitrate()
The bitrate of the currently playing creative as listed in the VAST response.
-
getUniversalAdIds
@NonNull() abstract List<UniversalAdId> getUniversalAdIds()
The list of universal ad ID information of the selected creative for the ad.
-
getTraffickingParameters
@NonNull() abstract String getTraffickingParameters()
A string with custom parameters associated with the ad at the time of ad trafficking.
- Empty string if this information is not available.
-
-
-
-