public final class VideoDiscoveryAd
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 |
|---|
VideoDiscoveryAd() |
| Modifier and Type | Method and Description |
|---|---|
VideoDiscoveryAd |
clone() |
String |
getDescription1()
First text line for the ad.
|
String |
getDescription2()
Second text line for the ad.
|
String |
getHeadline()
The headline of ad.
|
String |
getThumbnail()
Thumbnail image used in the ad.
|
YoutubeVideoDetails |
getVideo()
The YouTube video the ad promotes.
|
VideoDiscoveryAd |
set(String fieldName,
Object value) |
VideoDiscoveryAd |
setDescription1(String description1)
First text line for the ad.
|
VideoDiscoveryAd |
setDescription2(String description2)
Second text line for the ad.
|
VideoDiscoveryAd |
setHeadline(String headline)
The headline of ad.
|
VideoDiscoveryAd |
setThumbnail(String thumbnail)
Thumbnail image used in the ad.
|
VideoDiscoveryAd |
setVideo(YoutubeVideoDetails video)
The YouTube video the ad promotes.
|
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 getDescription1()
null for nonepublic VideoDiscoveryAd setDescription1(String description1)
description1 - description1 or null for nonepublic String getDescription2()
null for nonepublic VideoDiscoveryAd setDescription2(String description2)
description2 - description2 or null for nonepublic String getHeadline()
null for nonepublic VideoDiscoveryAd setHeadline(String headline)
headline - headline or null for nonepublic String getThumbnail()
null for nonepublic VideoDiscoveryAd setThumbnail(String thumbnail)
thumbnail - thumbnail or null for nonepublic YoutubeVideoDetails getVideo()
null for nonepublic VideoDiscoveryAd setVideo(YoutubeVideoDetails video)
video - video or null for nonepublic VideoDiscoveryAd set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic VideoDiscoveryAd clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.