public final class RemarketingAudience extends 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.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RemarketingAudience() |
| Modifier and Type | Method and Description |
|---|---|
RemarketingAudience |
clone() |
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.
|
String |
getAudienceType()
The type of audience, either SIMPLE or STATE_BASED.
|
DateTime |
getCreated()
Time this remarketing audience was created.
|
String |
getDescription()
The description of this remarketing audience.
|
String |
getId()
Remarketing Audience ID.
|
String |
getInternalWebPropertyId()
Internal ID for the web property to which this remarketing audience belongs.
|
String |
getKind()
Collection type.
|
List<LinkedForeignAccount> |
getLinkedAdAccounts()
The linked ad accounts associated with this remarketing audience.
|
List<String> |
getLinkedViews()
The views (profiles) that this remarketing audience is linked to.
|
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.
|
DateTime |
getUpdated()
Time this remarketing audience was last modified.
|
String |
getWebPropertyId()
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs.
|
RemarketingAudience |
set(String fieldName,
Object value) |
RemarketingAudience |
setAccountId(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(String audienceType)
The type of audience, either SIMPLE or STATE_BASED.
|
RemarketingAudience |
setCreated(DateTime created)
Time this remarketing audience was created.
|
RemarketingAudience |
setDescription(String description)
The description of this remarketing audience.
|
RemarketingAudience |
setId(String id)
Remarketing Audience ID.
|
RemarketingAudience |
setInternalWebPropertyId(String internalWebPropertyId)
Internal ID for the web property to which this remarketing audience belongs.
|
RemarketingAudience |
setKind(String kind)
Collection type.
|
RemarketingAudience |
setLinkedAdAccounts(List<LinkedForeignAccount> linkedAdAccounts)
The linked ad accounts associated with this remarketing audience.
|
RemarketingAudience |
setLinkedViews(List<String> linkedViews)
The views (profiles) that this remarketing audience is linked to.
|
RemarketingAudience |
setName(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(DateTime updated)
Time this remarketing audience was last modified.
|
RemarketingAudience |
setWebPropertyId(String webPropertyId)
Web property ID of the form UA-XXXXX-YY to which this remarketing audience belongs.
|
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 getAccountId()
null for nonepublic RemarketingAudience setAccountId(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 String getAudienceType()
null for nonepublic RemarketingAudience setAudienceType(String audienceType)
audienceType - audienceType or null for nonepublic DateTime getCreated()
null for nonepublic RemarketingAudience setCreated(DateTime created)
created - created or null for nonepublic String getDescription()
null for nonepublic RemarketingAudience setDescription(String description)
description - description or null for nonepublic String getId()
null for nonepublic RemarketingAudience setId(String id)
id - id or null for nonepublic String getInternalWebPropertyId()
null for nonepublic RemarketingAudience setInternalWebPropertyId(String internalWebPropertyId)
internalWebPropertyId - internalWebPropertyId or null for nonepublic String getKind()
null for nonepublic RemarketingAudience setKind(String kind)
kind - kind or null for nonepublic List<LinkedForeignAccount> getLinkedAdAccounts()
null for nonepublic RemarketingAudience setLinkedAdAccounts(List<LinkedForeignAccount> linkedAdAccounts)
linkedAdAccounts - linkedAdAccounts or null for nonepublic List<String> getLinkedViews()
null for nonepublic RemarketingAudience setLinkedViews(List<String> linkedViews)
linkedViews - linkedViews or null for nonepublic String getName()
null for nonepublic RemarketingAudience setName(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 DateTime getUpdated()
null for nonepublic RemarketingAudience setUpdated(DateTime updated)
updated - updated or null for nonepublic String getWebPropertyId()
null for nonepublic RemarketingAudience setWebPropertyId(String webPropertyId)
webPropertyId - webPropertyId or null for nonepublic RemarketingAudience set(String fieldName, Object value)
set in class GenericJsonpublic RemarketingAudience clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.