public final class RemarketingAudience
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 Google Analytics API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
RemarketingAudience.AudienceDefinition
The simple audience definition that will cause a user to be added to an audience.
|
static class |
RemarketingAudience.StateBasedAudienceDefinition
A state based audience definition that will cause a user to be added or removed from an audience.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
RemarketingAudience() |
| Modifier and Type | Method and Description |
|---|---|
RemarketingAudience |
clone() |
java.lang.String |
getAccountId()
Account ID to which this remarketing audience belongs.
|
RemarketingAudience.AudienceDefinition |
getAudienceDefinition()
The simple audience definition that will cause a user to be added to an audience.
|
java.lang.String |
getAudienceType()
The type of audience, either SIMPLE or STATE_BASED.
|
com.google.api.client.util.DateTime |
getCreated()
Time this remarketing audience was created.
|
java.lang.String |
getDescription()
The description of this remarketing audience.
|
java.lang.String |
getId()
Remarketing Audience ID.
|
java.lang.String |
getInternalWebPropertyId()
Internal ID for the web property to which this remarketing audience belongs.
|
java.lang.String |
getKind()
Collection type.
|
java.util.List<LinkedForeignAccount> |
getLinkedAdAccounts()
The linked ad accounts associated with this remarketing audience.
|
java.util.List<java.lang.String> |
getLinkedViews()
The views (profiles) that this remarketing audience is linked to.
|
java.lang.String |
getName()
The name of this remarketing audience.
|
RemarketingAudience.StateBasedAudienceDefinition |
getStateBasedAudienceDefinition()
A state based audience definition that will cause a user to be added or removed from an
audience.
|
com.google.api.client.util.DateTime |
getUpdated()
Time this remarketing audience was last modified.
|
java.lang.String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs.
|
RemarketingAudience |
set(java.lang.String fieldName,
java.lang.Object value) |
RemarketingAudience |
setAccountId(java.lang.String accountId)
Account ID to which this remarketing audience belongs.
|
RemarketingAudience |
setAudienceDefinition(RemarketingAudience.AudienceDefinition audienceDefinition)
The simple audience definition that will cause a user to be added to an audience.
|
RemarketingAudience |
setAudienceType(java.lang.String audienceType)
The type of audience, either SIMPLE or STATE_BASED.
|
RemarketingAudience |
setCreated(com.google.api.client.util.DateTime created)
Time this remarketing audience was created.
|
RemarketingAudience |
setDescription(java.lang.String description)
The description of this remarketing audience.
|
RemarketingAudience |
setId(java.lang.String id)
Remarketing Audience ID.
|
RemarketingAudience |
setInternalWebPropertyId(java.lang.String internalWebPropertyId)
Internal ID for the web property to which this remarketing audience belongs.
|
RemarketingAudience |
setKind(java.lang.String kind)
Collection type.
|
RemarketingAudience |
setLinkedAdAccounts(java.util.List<LinkedForeignAccount> linkedAdAccounts)
The linked ad accounts associated with this remarketing audience.
|
RemarketingAudience |
setLinkedViews(java.util.List<java.lang.String> linkedViews)
The views (profiles) that this remarketing audience is linked to.
|
RemarketingAudience |
setName(java.lang.String name)
The name of this remarketing audience.
|
RemarketingAudience |
setStateBasedAudienceDefinition(RemarketingAudience.StateBasedAudienceDefinition stateBasedAudienceDefinition)
A state based audience definition that will cause a user to be added or removed from an
audience.
|
RemarketingAudience |
setUpdated(com.google.api.client.util.DateTime updated)
Time this remarketing audience was last modified.
|
RemarketingAudience |
setWebPropertyId(java.lang.String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAccountId()
null for nonepublic RemarketingAudience setAccountId(java.lang.String accountId)
accountId - accountId or null for nonepublic RemarketingAudience.AudienceDefinition getAudienceDefinition()
null for nonepublic RemarketingAudience setAudienceDefinition(RemarketingAudience.AudienceDefinition audienceDefinition)
audienceDefinition - audienceDefinition or null for nonepublic java.lang.String getAudienceType()
null for nonepublic RemarketingAudience setAudienceType(java.lang.String audienceType)
audienceType - audienceType or null for nonepublic com.google.api.client.util.DateTime getCreated()
null for nonepublic RemarketingAudience setCreated(com.google.api.client.util.DateTime created)
created - created or null for nonepublic java.lang.String getDescription()
null for nonepublic RemarketingAudience setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getId()
null for nonepublic RemarketingAudience setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getInternalWebPropertyId()
null for nonepublic RemarketingAudience setInternalWebPropertyId(java.lang.String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic java.lang.String getKind()
null for nonepublic RemarketingAudience setKind(java.lang.String kind)
kind - kind or null for nonepublic java.util.List<LinkedForeignAccount> getLinkedAdAccounts()
null for nonepublic RemarketingAudience setLinkedAdAccounts(java.util.List<LinkedForeignAccount> linkedAdAccounts)
linkedAdAccounts - linkedAdAccounts or null for nonepublic java.util.List<java.lang.String> getLinkedViews()
null for nonepublic RemarketingAudience setLinkedViews(java.util.List<java.lang.String> linkedViews)
linkedViews - linkedViews or null for nonepublic java.lang.String getName()
null for nonepublic RemarketingAudience setName(java.lang.String name)
name - name or null for nonepublic RemarketingAudience.StateBasedAudienceDefinition getStateBasedAudienceDefinition()
null for nonepublic RemarketingAudience setStateBasedAudienceDefinition(RemarketingAudience.StateBasedAudienceDefinition stateBasedAudienceDefinition)
stateBasedAudienceDefinition - stateBasedAudienceDefinition or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic RemarketingAudience setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic java.lang.String getWebPropertyId()
null for nonepublic RemarketingAudience setWebPropertyId(java.lang.String webPropertyId)
webPropertyId - webPropertyId or null for nonepublic RemarketingAudience set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic RemarketingAudience clone()
clone in class com.google.api.client.json.GenericJson