public final class TargetingTemplate
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 Campaign Manager 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
TargetingTemplate() |
Modifier and Type | Method and Description |
---|---|
TargetingTemplate |
clone() |
Long |
getAccountId()
Account ID of this targeting template.
|
Long |
getAdvertiserId()
Advertiser ID of this targeting template.
|
DimensionValue |
getAdvertiserIdDimensionValue()
Dimension value for the ID of the advertiser.
|
DayPartTargeting |
getDayPartTargeting()
Time and day targeting criteria.
|
GeoTargeting |
getGeoTargeting()
Geographical targeting criteria.
|
Long |
getId()
ID of this targeting template.
|
KeyValueTargetingExpression |
getKeyValueTargetingExpression()
Key-value targeting criteria.
|
String |
getKind()
Identifies what kind of resource this is.
|
LanguageTargeting |
getLanguageTargeting()
Language targeting criteria.
|
ListTargetingExpression |
getListTargetingExpression()
Remarketing list targeting criteria.
|
String |
getName()
Name of this targeting template.
|
Long |
getSubaccountId()
Subaccount ID of this targeting template.
|
TechnologyTargeting |
getTechnologyTargeting()
Technology platform targeting criteria.
|
TargetingTemplate |
set(String fieldName,
Object value) |
TargetingTemplate |
setAccountId(Long accountId)
Account ID of this targeting template.
|
TargetingTemplate |
setAdvertiserId(Long advertiserId)
Advertiser ID of this targeting template.
|
TargetingTemplate |
setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
Dimension value for the ID of the advertiser.
|
TargetingTemplate |
setDayPartTargeting(DayPartTargeting dayPartTargeting)
Time and day targeting criteria.
|
TargetingTemplate |
setGeoTargeting(GeoTargeting geoTargeting)
Geographical targeting criteria.
|
TargetingTemplate |
setId(Long id)
ID of this targeting template.
|
TargetingTemplate |
setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
Key-value targeting criteria.
|
TargetingTemplate |
setKind(String kind)
Identifies what kind of resource this is.
|
TargetingTemplate |
setLanguageTargeting(LanguageTargeting languageTargeting)
Language targeting criteria.
|
TargetingTemplate |
setListTargetingExpression(ListTargetingExpression listTargetingExpression)
Remarketing list targeting criteria.
|
TargetingTemplate |
setName(String name)
Name of this targeting template.
|
TargetingTemplate |
setSubaccountId(Long subaccountId)
Subaccount ID of this targeting template.
|
TargetingTemplate |
setTechnologyTargeting(TechnologyTargeting technologyTargeting)
Technology platform targeting criteria.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getAccountId()
null
for nonepublic TargetingTemplate setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic Long getAdvertiserId()
null
for nonepublic TargetingTemplate setAdvertiserId(Long advertiserId)
advertiserId
- advertiserId or null
for nonepublic DimensionValue getAdvertiserIdDimensionValue()
null
for nonepublic TargetingTemplate setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
advertiserIdDimensionValue
- advertiserIdDimensionValue or null
for nonepublic DayPartTargeting getDayPartTargeting()
null
for nonepublic TargetingTemplate setDayPartTargeting(DayPartTargeting dayPartTargeting)
dayPartTargeting
- dayPartTargeting or null
for nonepublic GeoTargeting getGeoTargeting()
null
for nonepublic TargetingTemplate setGeoTargeting(GeoTargeting geoTargeting)
geoTargeting
- geoTargeting or null
for nonepublic Long getId()
null
for nonepublic TargetingTemplate setId(Long id)
id
- id or null
for nonepublic KeyValueTargetingExpression getKeyValueTargetingExpression()
null
for nonepublic TargetingTemplate setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
keyValueTargetingExpression
- keyValueTargetingExpression or null
for nonepublic String getKind()
null
for nonepublic TargetingTemplate setKind(String kind)
kind
- kind or null
for nonepublic LanguageTargeting getLanguageTargeting()
null
for nonepublic TargetingTemplate setLanguageTargeting(LanguageTargeting languageTargeting)
languageTargeting
- languageTargeting or null
for nonepublic ListTargetingExpression getListTargetingExpression()
null
for nonepublic TargetingTemplate setListTargetingExpression(ListTargetingExpression listTargetingExpression)
listTargetingExpression
- listTargetingExpression or null
for nonepublic String getName()
null
for nonepublic TargetingTemplate setName(String name)
name
- name or null
for nonepublic Long getSubaccountId()
null
for nonepublic TargetingTemplate setSubaccountId(Long subaccountId)
subaccountId
- subaccountId or null
for nonepublic TechnologyTargeting getTechnologyTargeting()
null
for nonepublic TargetingTemplate setTechnologyTargeting(TechnologyTargeting technologyTargeting)
technologyTargeting
- technologyTargeting or null
for nonepublic TargetingTemplate set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TargetingTemplate clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.