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 DCM/DFA Reporting And Trafficking 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| Constructor and Description |
|---|
TargetingTemplate() |
| Modifier and Type | Method and Description |
|---|---|
TargetingTemplate |
clone() |
java.lang.Long |
getAccountId()
Account ID of this targeting template.
|
java.lang.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.
|
java.lang.Long |
getId()
ID of this targeting template.
|
KeyValueTargetingExpression |
getKeyValueTargetingExpression()
Key-value targeting criteria.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
LanguageTargeting |
getLanguageTargeting()
Language targeting criteria.
|
ListTargetingExpression |
getListTargetingExpression()
Remarketing list targeting criteria.
|
java.lang.String |
getName()
Name of this targeting template.
|
java.lang.Long |
getSubaccountId()
Subaccount ID of this targeting template.
|
TechnologyTargeting |
getTechnologyTargeting()
Technology platform targeting criteria.
|
TargetingTemplate |
set(java.lang.String fieldName,
java.lang.Object value) |
TargetingTemplate |
setAccountId(java.lang.Long accountId)
Account ID of this targeting template.
|
TargetingTemplate |
setAdvertiserId(java.lang.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(java.lang.Long id)
ID of this targeting template.
|
TargetingTemplate |
setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
Key-value targeting criteria.
|
TargetingTemplate |
setKind(java.lang.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(java.lang.String name)
Name of this targeting template.
|
TargetingTemplate |
setSubaccountId(java.lang.Long subaccountId)
Subaccount ID of this targeting template.
|
TargetingTemplate |
setTechnologyTargeting(TechnologyTargeting technologyTargeting)
Technology platform targeting criteria.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAccountId()
null for nonepublic TargetingTemplate setAccountId(java.lang.Long accountId)
accountId - accountId or null for nonepublic java.lang.Long getAdvertiserId()
null for nonepublic TargetingTemplate setAdvertiserId(java.lang.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 java.lang.Long getId()
null for nonepublic TargetingTemplate setId(java.lang.Long id)
id - id or null for nonepublic KeyValueTargetingExpression getKeyValueTargetingExpression()
null for nonepublic TargetingTemplate setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
keyValueTargetingExpression - keyValueTargetingExpression or null for nonepublic java.lang.String getKind()
null for nonepublic TargetingTemplate setKind(java.lang.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 java.lang.String getName()
null for nonepublic TargetingTemplate setName(java.lang.String name)
name - name or null for nonepublic java.lang.Long getSubaccountId()
null for nonepublic TargetingTemplate setSubaccountId(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TargetingTemplate clone()
clone in class com.google.api.client.json.GenericJson