public final class YoutubeAdGroupAd
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 Display & Video 360 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 |
|---|
YoutubeAdGroupAd() |
| Modifier and Type | Method and Description |
|---|---|
YoutubeAdGroupAd |
clone() |
Long |
getAdGroupAdId()
The unique ID of the ad.
|
Long |
getAdGroupId()
The unique ID of the ad group that the ad belongs to.
|
List<AdUrl> |
getAdUrls()
List of URLs used by the ad.
|
Long |
getAdvertiserId()
The unique ID of the advertiser the ad belongs to.
|
AudioAd |
getAudioAd()
Details of an [audio ad](//support.google.com/displayvideo/answer/6274216) used for reach
marketing objectives.
|
BumperAd |
getBumperAd()
Details of a [non-skippable short video ad](//support.google.com/displayvideo/answer/6274216),
equal to or less than 6 seconds, used for reach.
|
String |
getDisplayName()
The display name of the ad.
|
DisplayVideoSourceAd |
getDisplayVideoSourceAd()
Details of an ad sourced from a Display & Video 360 creative.
|
String |
getEntityStatus()
The entity status of the ad.
|
InStreamAd |
getInStreamAd()
Details of an [in-stream ad skippable after 5
seconds](//support.google.com/displayvideo/answer/6274216), used for brand awareness or reach
marketing objectives.
|
MastheadAd |
getMastheadAd()
Details of an [ad served on the YouTube Home feed](//support.google.com/google-
ads/answer/9709826).
|
String |
getName()
The resource name of the ad.
|
NonSkippableAd |
getNonSkippableAd()
Details of a [non-skippable short in-stream video
ad](//support.google.com/displayvideo/answer/6274216), between 6 and 15 seconds, used for reach
marketing objectives.
|
VideoDiscoveryAd |
getVideoDiscoverAd()
Details of an [ad promoting a video](//support.google.com/displayvideo/answer/6274216) that
shows in places of discovery.
|
VideoPerformanceAd |
getVideoPerformanceAd()
Details of an [ad used in a video action campaign](//support.google.com/google-
ads/answer/10147229) to drive actions to the business, service or product.
|
YoutubeAdGroupAd |
set(String fieldName,
Object value) |
YoutubeAdGroupAd |
setAdGroupAdId(Long adGroupAdId)
The unique ID of the ad.
|
YoutubeAdGroupAd |
setAdGroupId(Long adGroupId)
The unique ID of the ad group that the ad belongs to.
|
YoutubeAdGroupAd |
setAdUrls(List<AdUrl> adUrls)
List of URLs used by the ad.
|
YoutubeAdGroupAd |
setAdvertiserId(Long advertiserId)
The unique ID of the advertiser the ad belongs to.
|
YoutubeAdGroupAd |
setAudioAd(AudioAd audioAd)
Details of an [audio ad](//support.google.com/displayvideo/answer/6274216) used for reach
marketing objectives.
|
YoutubeAdGroupAd |
setBumperAd(BumperAd bumperAd)
Details of a [non-skippable short video ad](//support.google.com/displayvideo/answer/6274216),
equal to or less than 6 seconds, used for reach.
|
YoutubeAdGroupAd |
setDisplayName(String displayName)
The display name of the ad.
|
YoutubeAdGroupAd |
setDisplayVideoSourceAd(DisplayVideoSourceAd displayVideoSourceAd)
Details of an ad sourced from a Display & Video 360 creative.
|
YoutubeAdGroupAd |
setEntityStatus(String entityStatus)
The entity status of the ad.
|
YoutubeAdGroupAd |
setInStreamAd(InStreamAd inStreamAd)
Details of an [in-stream ad skippable after 5
seconds](//support.google.com/displayvideo/answer/6274216), used for brand awareness or reach
marketing objectives.
|
YoutubeAdGroupAd |
setMastheadAd(MastheadAd mastheadAd)
Details of an [ad served on the YouTube Home feed](//support.google.com/google-
ads/answer/9709826).
|
YoutubeAdGroupAd |
setName(String name)
The resource name of the ad.
|
YoutubeAdGroupAd |
setNonSkippableAd(NonSkippableAd nonSkippableAd)
Details of a [non-skippable short in-stream video
ad](//support.google.com/displayvideo/answer/6274216), between 6 and 15 seconds, used for reach
marketing objectives.
|
YoutubeAdGroupAd |
setVideoDiscoverAd(VideoDiscoveryAd videoDiscoverAd)
Details of an [ad promoting a video](//support.google.com/displayvideo/answer/6274216) that
shows in places of discovery.
|
YoutubeAdGroupAd |
setVideoPerformanceAd(VideoPerformanceAd videoPerformanceAd)
Details of an [ad used in a video action campaign](//support.google.com/google-
ads/answer/10147229) to drive actions to the business, service or product.
|
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 Long getAdGroupAdId()
null for nonepublic YoutubeAdGroupAd setAdGroupAdId(Long adGroupAdId)
adGroupAdId - adGroupAdId or null for nonepublic Long getAdGroupId()
null for nonepublic YoutubeAdGroupAd setAdGroupId(Long adGroupId)
adGroupId - adGroupId or null for nonepublic List<AdUrl> getAdUrls()
null for nonepublic YoutubeAdGroupAd setAdUrls(List<AdUrl> adUrls)
adUrls - adUrls or null for nonepublic Long getAdvertiserId()
null for nonepublic YoutubeAdGroupAd setAdvertiserId(Long advertiserId)
advertiserId - advertiserId or null for nonepublic AudioAd getAudioAd()
null for nonepublic YoutubeAdGroupAd setAudioAd(AudioAd audioAd)
audioAd - audioAd or null for nonepublic BumperAd getBumperAd()
null for nonepublic YoutubeAdGroupAd setBumperAd(BumperAd bumperAd)
bumperAd - bumperAd or null for nonepublic String getDisplayName()
null for nonepublic YoutubeAdGroupAd setDisplayName(String displayName)
displayName - displayName or null for nonepublic DisplayVideoSourceAd getDisplayVideoSourceAd()
null for nonepublic YoutubeAdGroupAd setDisplayVideoSourceAd(DisplayVideoSourceAd displayVideoSourceAd)
displayVideoSourceAd - displayVideoSourceAd or null for nonepublic String getEntityStatus()
null for nonepublic YoutubeAdGroupAd setEntityStatus(String entityStatus)
entityStatus - entityStatus or null for nonepublic InStreamAd getInStreamAd()
null for nonepublic YoutubeAdGroupAd setInStreamAd(InStreamAd inStreamAd)
inStreamAd - inStreamAd or null for nonepublic MastheadAd getMastheadAd()
null for nonepublic YoutubeAdGroupAd setMastheadAd(MastheadAd mastheadAd)
mastheadAd - mastheadAd or null for nonepublic String getName()
null for nonepublic YoutubeAdGroupAd setName(String name)
name - name or null for nonepublic NonSkippableAd getNonSkippableAd()
null for nonepublic YoutubeAdGroupAd setNonSkippableAd(NonSkippableAd nonSkippableAd)
nonSkippableAd - nonSkippableAd or null for nonepublic VideoDiscoveryAd getVideoDiscoverAd()
null for nonepublic YoutubeAdGroupAd setVideoDiscoverAd(VideoDiscoveryAd videoDiscoverAd)
videoDiscoverAd - videoDiscoverAd or null for nonepublic VideoPerformanceAd getVideoPerformanceAd()
null for nonepublic YoutubeAdGroupAd setVideoPerformanceAd(VideoPerformanceAd videoPerformanceAd)
videoPerformanceAd - videoPerformanceAd or null for nonepublic YoutubeAdGroupAd set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic YoutubeAdGroupAd clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.