public final class VideoMetadata
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Real-time Bidding API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VideoMetadata() |
| Modifier and Type | Method and Description |
|---|---|
VideoMetadata |
clone() |
String |
getDuration()
The duration of the ad.
|
Boolean |
getIsValidVast()
Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.
|
Boolean |
getIsVpaid()
Is this a VPAID ad? Can be used to filter the response of the creatives.list method.
|
List<MediaFile> |
getMediaFiles()
The list of all media files declared in the VAST.
|
String |
getSkipOffset()
The minimum duration that the user has to watch before being able to skip this ad.
|
String |
getVastVersion()
The maximum VAST version across all wrapped VAST documents.
|
VideoMetadata |
set(String fieldName,
Object value) |
VideoMetadata |
setDuration(String duration)
The duration of the ad.
|
VideoMetadata |
setIsValidVast(Boolean isValidVast)
Is this a valid VAST ad? Can be used to filter the response of the creatives.list method.
|
VideoMetadata |
setIsVpaid(Boolean isVpaid)
Is this a VPAID ad? Can be used to filter the response of the creatives.list method.
|
VideoMetadata |
setMediaFiles(List<MediaFile> mediaFiles)
The list of all media files declared in the VAST.
|
VideoMetadata |
setSkipOffset(String skipOffset)
The minimum duration that the user has to watch before being able to skip this ad.
|
VideoMetadata |
setVastVersion(String vastVersion)
The maximum VAST version across all wrapped VAST documents.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDuration()
null for nonepublic VideoMetadata setDuration(String duration)
duration - duration or null for nonepublic Boolean getIsValidVast()
null for nonepublic VideoMetadata setIsValidVast(Boolean isValidVast)
isValidVast - isValidVast or null for nonepublic Boolean getIsVpaid()
null for nonepublic VideoMetadata setIsVpaid(Boolean isVpaid)
isVpaid - isVpaid or null for nonepublic List<MediaFile> getMediaFiles()
null for nonepublic VideoMetadata setMediaFiles(List<MediaFile> mediaFiles)
mediaFiles - mediaFiles or null for nonepublic String getSkipOffset()
null for nonepublic VideoMetadata setSkipOffset(String skipOffset)
skipOffset - skipOffset or null for nonepublic String getVastVersion()
null for nonepublic VideoMetadata setVastVersion(String vastVersion)
vastVersion - vastVersion or null for nonepublic VideoMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic VideoMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.