public final class Ad
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 |
---|
Ad() |
Modifier and Type | Method and Description |
---|---|
Ad |
clone() |
Long |
getAccountId()
Account ID of this ad.
|
Boolean |
getActive()
Whether this ad is active.
|
Long |
getAdvertiserId()
Advertiser ID of this ad.
|
DimensionValue |
getAdvertiserIdDimensionValue()
Dimension value for the ID of the advertiser.
|
Boolean |
getArchived()
Whether this ad is archived.
|
Long |
getAudienceSegmentId()
Audience segment ID that is being targeted for this ad.
|
Long |
getCampaignId()
Campaign ID of this ad.
|
DimensionValue |
getCampaignIdDimensionValue()
Dimension value for the ID of the campaign.
|
ClickThroughUrl |
getClickThroughUrl()
Click-through URL for this ad.
|
ClickThroughUrlSuffixProperties |
getClickThroughUrlSuffixProperties()
Click-through URL suffix properties for this ad.
|
String |
getComments()
Comments for this ad.
|
String |
getCompatibility()
Compatibility of this ad.
|
LastModifiedInfo |
getCreateInfo()
Information about the creation of this ad.
|
List<CreativeGroupAssignment> |
getCreativeGroupAssignments()
Creative group assignments for this ad.
|
CreativeRotation |
getCreativeRotation()
Creative rotation for this ad.
|
DayPartTargeting |
getDayPartTargeting()
Time and day targeting information for this ad.
|
DefaultClickThroughEventTagProperties |
getDefaultClickThroughEventTagProperties()
Default click-through event tag properties for this ad.
|
DeliverySchedule |
getDeliverySchedule()
Delivery schedule information for this ad.
|
Boolean |
getDynamicClickTracker()
Whether this ad is a dynamic click tracker.
|
com.google.api.client.util.DateTime |
getEndTime() |
List<EventTagOverride> |
getEventTagOverrides()
Event tag overrides for this ad.
|
GeoTargeting |
getGeoTargeting()
Geographical targeting information for this ad.
|
Long |
getId()
ID of this ad.
|
DimensionValue |
getIdDimensionValue()
Dimension value for the ID of this ad.
|
KeyValueTargetingExpression |
getKeyValueTargetingExpression()
Key-value targeting information for this ad.
|
String |
getKind()
Identifies what kind of resource this is.
|
LanguageTargeting |
getLanguageTargeting()
Language targeting information for this ad.
|
LastModifiedInfo |
getLastModifiedInfo()
Information about the most recent modification of this ad.
|
String |
getName()
Name of this ad.
|
List<PlacementAssignment> |
getPlacementAssignments()
Placement assignments for this ad.
|
ListTargetingExpression |
getRemarketingListExpression()
Remarketing list targeting expression for this ad.
|
Size |
getSize()
Size of this ad.
|
Boolean |
getSslCompliant()
Whether this ad is ssl compliant.
|
Boolean |
getSslRequired()
Whether this ad requires ssl.
|
com.google.api.client.util.DateTime |
getStartTime() |
Long |
getSubaccountId()
Subaccount ID of this ad.
|
Long |
getTargetingTemplateId()
Targeting template ID, used to apply preconfigured targeting information to this ad.
|
TechnologyTargeting |
getTechnologyTargeting()
Technology platform targeting information for this ad.
|
String |
getType()
Type of ad.
|
Ad |
set(String fieldName,
Object value) |
Ad |
setAccountId(Long accountId)
Account ID of this ad.
|
Ad |
setActive(Boolean active)
Whether this ad is active.
|
Ad |
setAdvertiserId(Long advertiserId)
Advertiser ID of this ad.
|
Ad |
setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
Dimension value for the ID of the advertiser.
|
Ad |
setArchived(Boolean archived)
Whether this ad is archived.
|
Ad |
setAudienceSegmentId(Long audienceSegmentId)
Audience segment ID that is being targeted for this ad.
|
Ad |
setCampaignId(Long campaignId)
Campaign ID of this ad.
|
Ad |
setCampaignIdDimensionValue(DimensionValue campaignIdDimensionValue)
Dimension value for the ID of the campaign.
|
Ad |
setClickThroughUrl(ClickThroughUrl clickThroughUrl)
Click-through URL for this ad.
|
Ad |
setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties clickThroughUrlSuffixProperties)
Click-through URL suffix properties for this ad.
|
Ad |
setComments(String comments)
Comments for this ad.
|
Ad |
setCompatibility(String compatibility)
Compatibility of this ad.
|
Ad |
setCreateInfo(LastModifiedInfo createInfo)
Information about the creation of this ad.
|
Ad |
setCreativeGroupAssignments(List<CreativeGroupAssignment> creativeGroupAssignments)
Creative group assignments for this ad.
|
Ad |
setCreativeRotation(CreativeRotation creativeRotation)
Creative rotation for this ad.
|
Ad |
setDayPartTargeting(DayPartTargeting dayPartTargeting)
Time and day targeting information for this ad.
|
Ad |
setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties defaultClickThroughEventTagProperties)
Default click-through event tag properties for this ad.
|
Ad |
setDeliverySchedule(DeliverySchedule deliverySchedule)
Delivery schedule information for this ad.
|
Ad |
setDynamicClickTracker(Boolean dynamicClickTracker)
Whether this ad is a dynamic click tracker.
|
Ad |
setEndTime(com.google.api.client.util.DateTime endTime) |
Ad |
setEventTagOverrides(List<EventTagOverride> eventTagOverrides)
Event tag overrides for this ad.
|
Ad |
setGeoTargeting(GeoTargeting geoTargeting)
Geographical targeting information for this ad.
|
Ad |
setId(Long id)
ID of this ad.
|
Ad |
setIdDimensionValue(DimensionValue idDimensionValue)
Dimension value for the ID of this ad.
|
Ad |
setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
Key-value targeting information for this ad.
|
Ad |
setKind(String kind)
Identifies what kind of resource this is.
|
Ad |
setLanguageTargeting(LanguageTargeting languageTargeting)
Language targeting information for this ad.
|
Ad |
setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
Information about the most recent modification of this ad.
|
Ad |
setName(String name)
Name of this ad.
|
Ad |
setPlacementAssignments(List<PlacementAssignment> placementAssignments)
Placement assignments for this ad.
|
Ad |
setRemarketingListExpression(ListTargetingExpression remarketingListExpression)
Remarketing list targeting expression for this ad.
|
Ad |
setSize(Size size)
Size of this ad.
|
Ad |
setSslCompliant(Boolean sslCompliant)
Whether this ad is ssl compliant.
|
Ad |
setSslRequired(Boolean sslRequired)
Whether this ad requires ssl.
|
Ad |
setStartTime(com.google.api.client.util.DateTime startTime) |
Ad |
setSubaccountId(Long subaccountId)
Subaccount ID of this ad.
|
Ad |
setTargetingTemplateId(Long targetingTemplateId)
Targeting template ID, used to apply preconfigured targeting information to this ad.
|
Ad |
setTechnologyTargeting(TechnologyTargeting technologyTargeting)
Technology platform targeting information for this ad.
|
Ad |
setType(String type)
Type of ad.
|
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 Ad setAccountId(Long accountId)
accountId
- accountId or null
for nonepublic Boolean getActive()
null
for nonepublic Ad setActive(Boolean active)
active
- active or null
for nonepublic Long getAdvertiserId()
null
for nonepublic Ad setAdvertiserId(Long advertiserId)
advertiserId
- advertiserId or null
for nonepublic DimensionValue getAdvertiserIdDimensionValue()
null
for nonepublic Ad setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
advertiserIdDimensionValue
- advertiserIdDimensionValue or null
for nonepublic Boolean getArchived()
null
for nonepublic Ad setArchived(Boolean archived)
archived
- archived or null
for nonepublic Long getAudienceSegmentId()
null
for nonepublic Ad setAudienceSegmentId(Long audienceSegmentId)
audienceSegmentId
- audienceSegmentId or null
for nonepublic Long getCampaignId()
null
for nonepublic Ad setCampaignId(Long campaignId)
campaignId
- campaignId or null
for nonepublic DimensionValue getCampaignIdDimensionValue()
null
for nonepublic Ad setCampaignIdDimensionValue(DimensionValue campaignIdDimensionValue)
campaignIdDimensionValue
- campaignIdDimensionValue or null
for nonepublic ClickThroughUrl getClickThroughUrl()
null
for nonepublic Ad setClickThroughUrl(ClickThroughUrl clickThroughUrl)
clickThroughUrl
- clickThroughUrl or null
for nonepublic ClickThroughUrlSuffixProperties getClickThroughUrlSuffixProperties()
null
for nonepublic Ad setClickThroughUrlSuffixProperties(ClickThroughUrlSuffixProperties clickThroughUrlSuffixProperties)
clickThroughUrlSuffixProperties
- clickThroughUrlSuffixProperties or null
for nonepublic String getComments()
null
for nonepublic Ad setComments(String comments)
comments
- comments or null
for nonepublic String getCompatibility()
null
for nonepublic Ad setCompatibility(String compatibility)
compatibility
- compatibility or null
for nonepublic LastModifiedInfo getCreateInfo()
null
for nonepublic Ad setCreateInfo(LastModifiedInfo createInfo)
createInfo
- createInfo or null
for nonepublic List<CreativeGroupAssignment> getCreativeGroupAssignments()
null
for nonepublic Ad setCreativeGroupAssignments(List<CreativeGroupAssignment> creativeGroupAssignments)
creativeGroupAssignments
- creativeGroupAssignments or null
for nonepublic CreativeRotation getCreativeRotation()
null
for nonepublic Ad setCreativeRotation(CreativeRotation creativeRotation)
creativeRotation
- creativeRotation or null
for nonepublic DayPartTargeting getDayPartTargeting()
null
for nonepublic Ad setDayPartTargeting(DayPartTargeting dayPartTargeting)
dayPartTargeting
- dayPartTargeting or null
for nonepublic DefaultClickThroughEventTagProperties getDefaultClickThroughEventTagProperties()
null
for nonepublic Ad setDefaultClickThroughEventTagProperties(DefaultClickThroughEventTagProperties defaultClickThroughEventTagProperties)
defaultClickThroughEventTagProperties
- defaultClickThroughEventTagProperties or null
for nonepublic DeliverySchedule getDeliverySchedule()
null
for nonepublic Ad setDeliverySchedule(DeliverySchedule deliverySchedule)
deliverySchedule
- deliverySchedule or null
for nonepublic Boolean getDynamicClickTracker()
null
for nonepublic Ad setDynamicClickTracker(Boolean dynamicClickTracker)
dynamicClickTracker
- dynamicClickTracker or null
for nonepublic com.google.api.client.util.DateTime getEndTime()
null
for nonepublic Ad setEndTime(com.google.api.client.util.DateTime endTime)
endTime
- endTime or null
for nonepublic List<EventTagOverride> getEventTagOverrides()
null
for nonepublic Ad setEventTagOverrides(List<EventTagOverride> eventTagOverrides)
eventTagOverrides
- eventTagOverrides or null
for nonepublic GeoTargeting getGeoTargeting()
null
for nonepublic Ad setGeoTargeting(GeoTargeting geoTargeting)
geoTargeting
- geoTargeting or null
for nonepublic Long getId()
null
for nonepublic Ad setId(Long id)
id
- id or null
for nonepublic DimensionValue getIdDimensionValue()
null
for nonepublic Ad setIdDimensionValue(DimensionValue idDimensionValue)
idDimensionValue
- idDimensionValue or null
for nonepublic KeyValueTargetingExpression getKeyValueTargetingExpression()
null
for nonepublic Ad setKeyValueTargetingExpression(KeyValueTargetingExpression keyValueTargetingExpression)
keyValueTargetingExpression
- keyValueTargetingExpression or null
for nonepublic String getKind()
null
for nonepublic Ad setKind(String kind)
kind
- kind or null
for nonepublic LanguageTargeting getLanguageTargeting()
null
for nonepublic Ad setLanguageTargeting(LanguageTargeting languageTargeting)
languageTargeting
- languageTargeting or null
for nonepublic LastModifiedInfo getLastModifiedInfo()
null
for nonepublic Ad setLastModifiedInfo(LastModifiedInfo lastModifiedInfo)
lastModifiedInfo
- lastModifiedInfo or null
for nonepublic String getName()
null
for nonepublic Ad setName(String name)
name
- name or null
for nonepublic List<PlacementAssignment> getPlacementAssignments()
null
for nonepublic Ad setPlacementAssignments(List<PlacementAssignment> placementAssignments)
placementAssignments
- placementAssignments or null
for nonepublic ListTargetingExpression getRemarketingListExpression()
null
for nonepublic Ad setRemarketingListExpression(ListTargetingExpression remarketingListExpression)
remarketingListExpression
- remarketingListExpression or null
for nonepublic Size getSize()
null
for nonepublic Ad setSize(Size size)
size
- size or null
for nonepublic Boolean getSslCompliant()
null
for nonepublic Ad setSslCompliant(Boolean sslCompliant)
sslCompliant
- sslCompliant or null
for nonepublic Boolean getSslRequired()
null
for nonepublic Ad setSslRequired(Boolean sslRequired)
sslRequired
- sslRequired or null
for nonepublic com.google.api.client.util.DateTime getStartTime()
null
for nonepublic Ad setStartTime(com.google.api.client.util.DateTime startTime)
startTime
- startTime or null
for nonepublic Long getSubaccountId()
null
for nonepublic Ad setSubaccountId(Long subaccountId)
subaccountId
- subaccountId or null
for nonepublic Long getTargetingTemplateId()
null
for nonepublic Ad setTargetingTemplateId(Long targetingTemplateId)
targetingTemplateId
- targetingTemplateId or null
for nonepublic TechnologyTargeting getTechnologyTargeting()
null
for nonepublic Ad setTechnologyTargeting(TechnologyTargeting technologyTargeting)
technologyTargeting
- technologyTargeting or null
for nonepublic String getType()
null
for nonepublic Ad setType(String type)
type
- type or null
for nonepublic Ad set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Ad clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.