public final class Creative
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 |
|---|
Creative() |
| Modifier and Type | Method and Description |
|---|---|
Creative |
clone() |
Long |
getAccountId()
Output only.
|
String |
getAdChoicesDestinationUrl()
The link to AdChoices destination page.
|
String |
getAdvertiserName()
The name of the company being advertised in the creative.
|
Long |
getAgencyId()
The agency ID for this creative.
|
String |
getApiUpdateTime()
Output only.
|
String |
getCreativeFormat()
Output only.
|
String |
getCreativeId()
Buyer-specific creative ID that references this creative in bid responses.
|
CreativeServingDecision |
getCreativeServingDecision()
Output only.
|
List<String> |
getDealIds()
Output only.
|
List<String> |
getDeclaredAttributes()
All declared attributes for the ads that may be shown from this creative.
|
List<String> |
getDeclaredClickThroughUrls()
The set of declared destination URLs for the creative.
|
List<String> |
getDeclaredRestrictedCategories()
All declared restricted categories for the ads that may be shown from this creative.
|
List<Integer> |
getDeclaredVendorIds()
IDs for the declared ad technology vendors that may be used by this creative.
|
HtmlContent |
getHtml()
An HTML creative.
|
List<String> |
getImpressionTrackingUrls()
The set of URLs to be called to record an impression.
|
String |
getName()
Output only.
|
NativeContent |
getNative()
A native creative.
|
String |
getRenderUrl()
Experimental field that can be used during the [FLEDGE Origin Trial](/authorized-
buyers/rtb/fledge-origin-trial).
|
List<String> |
getRestrictedCategories()
All restricted categories for the ads that may be shown from this creative.
|
Integer |
getVersion()
Output only.
|
VideoContent |
getVideo()
A video creative.
|
Creative |
set(String fieldName,
Object value) |
Creative |
setAccountId(Long accountId)
Output only.
|
Creative |
setAdChoicesDestinationUrl(String adChoicesDestinationUrl)
The link to AdChoices destination page.
|
Creative |
setAdvertiserName(String advertiserName)
The name of the company being advertised in the creative.
|
Creative |
setAgencyId(Long agencyId)
The agency ID for this creative.
|
Creative |
setApiUpdateTime(String apiUpdateTime)
Output only.
|
Creative |
setCreativeFormat(String creativeFormat)
Output only.
|
Creative |
setCreativeId(String creativeId)
Buyer-specific creative ID that references this creative in bid responses.
|
Creative |
setCreativeServingDecision(CreativeServingDecision creativeServingDecision)
Output only.
|
Creative |
setDealIds(List<String> dealIds)
Output only.
|
Creative |
setDeclaredAttributes(List<String> declaredAttributes)
All declared attributes for the ads that may be shown from this creative.
|
Creative |
setDeclaredClickThroughUrls(List<String> declaredClickThroughUrls)
The set of declared destination URLs for the creative.
|
Creative |
setDeclaredRestrictedCategories(List<String> declaredRestrictedCategories)
All declared restricted categories for the ads that may be shown from this creative.
|
Creative |
setDeclaredVendorIds(List<Integer> declaredVendorIds)
IDs for the declared ad technology vendors that may be used by this creative.
|
Creative |
setHtml(HtmlContent html)
An HTML creative.
|
Creative |
setImpressionTrackingUrls(List<String> impressionTrackingUrls)
The set of URLs to be called to record an impression.
|
Creative |
setName(String name)
Output only.
|
Creative |
setNative(NativeContent native__)
A native creative.
|
Creative |
setRenderUrl(String renderUrl)
Experimental field that can be used during the [FLEDGE Origin Trial](/authorized-
buyers/rtb/fledge-origin-trial).
|
Creative |
setRestrictedCategories(List<String> restrictedCategories)
All restricted categories for the ads that may be shown from this creative.
|
Creative |
setVersion(Integer version)
Output only.
|
Creative |
setVideo(VideoContent video)
A video creative.
|
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 getAccountId()
null for nonepublic Creative setAccountId(Long accountId)
accountId - accountId or null for nonepublic String getAdChoicesDestinationUrl()
null for nonepublic Creative setAdChoicesDestinationUrl(String adChoicesDestinationUrl)
adChoicesDestinationUrl - adChoicesDestinationUrl or null for nonepublic String getAdvertiserName()
null for nonepublic Creative setAdvertiserName(String advertiserName)
advertiserName - advertiserName or null for nonepublic Long getAgencyId()
null for nonepublic Creative setAgencyId(Long agencyId)
agencyId - agencyId or null for nonepublic String getApiUpdateTime()
null for nonepublic Creative setApiUpdateTime(String apiUpdateTime)
apiUpdateTime - apiUpdateTime or null for nonepublic String getCreativeFormat()
null for nonepublic Creative setCreativeFormat(String creativeFormat)
creativeFormat - creativeFormat or null for nonepublic String getCreativeId()
null for nonepublic Creative setCreativeId(String creativeId)
creativeId - creativeId or null for nonepublic CreativeServingDecision getCreativeServingDecision()
null for nonepublic Creative setCreativeServingDecision(CreativeServingDecision creativeServingDecision)
creativeServingDecision - creativeServingDecision or null for nonepublic List<String> getDealIds()
null for nonepublic Creative setDealIds(List<String> dealIds)
dealIds - dealIds or null for nonepublic List<String> getDeclaredAttributes()
null for nonepublic Creative setDeclaredAttributes(List<String> declaredAttributes)
declaredAttributes - declaredAttributes or null for nonepublic List<String> getDeclaredClickThroughUrls()
null for nonepublic Creative setDeclaredClickThroughUrls(List<String> declaredClickThroughUrls)
declaredClickThroughUrls - declaredClickThroughUrls or null for nonepublic List<String> getDeclaredRestrictedCategories()
null for nonepublic Creative setDeclaredRestrictedCategories(List<String> declaredRestrictedCategories)
declaredRestrictedCategories - declaredRestrictedCategories or null for nonepublic List<Integer> getDeclaredVendorIds()
null for nonepublic Creative setDeclaredVendorIds(List<Integer> declaredVendorIds)
declaredVendorIds - declaredVendorIds or null for nonepublic HtmlContent getHtml()
null for nonepublic Creative setHtml(HtmlContent html)
html - html or null for nonepublic List<String> getImpressionTrackingUrls()
null for nonepublic Creative setImpressionTrackingUrls(List<String> impressionTrackingUrls)
impressionTrackingUrls - impressionTrackingUrls or null for nonepublic String getName()
null for nonepublic Creative setName(String name)
name - name or null for nonepublic NativeContent getNative()
null for nonepublic Creative setNative(NativeContent native__)
native__ - native__ or null for nonepublic String getRenderUrl()
null for nonepublic Creative setRenderUrl(String renderUrl)
renderUrl - renderUrl or null for nonepublic List<String> getRestrictedCategories()
null for nonepublic Creative setRestrictedCategories(List<String> restrictedCategories)
restrictedCategories - restrictedCategories or null for nonepublic Integer getVersion()
null for nonepublic Creative setVersion(Integer version)
version - version or null for nonepublic VideoContent getVideo()
null for nonepublic Creative setVideo(VideoContent video)
video - video or null for nonepublic Creative set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Creative clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.