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 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 |
|---|
Ad() |
| Modifier and Type | Method and Description |
|---|---|
Ad |
clone() |
java.lang.Long |
getAccountId()
Account ID of this ad.
|
java.lang.Boolean |
getActive()
Whether this ad is active.
|
java.lang.Long |
getAdvertiserId()
Advertiser ID of this ad.
|
DimensionValue |
getAdvertiserIdDimensionValue()
Dimension value for the ID of the advertiser.
|
java.lang.Boolean |
getArchived()
Whether this ad is archived.
|
java.lang.Long |
getAudienceSegmentId()
Audience segment ID that is being targeted for this ad.
|
java.lang.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.
|
java.lang.String |
getComments()
Comments for this ad.
|
java.lang.String |
getCompatibility()
Compatibility of this ad.
|
LastModifiedInfo |
getCreateInfo()
Information about the creation of this ad.
|
java.util.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.
|
java.lang.Boolean |
getDynamicClickTracker()
Whether this ad is a dynamic click tracker.
|
com.google.api.client.util.DateTime |
getEndTime()
Date and time that this ad should stop serving.
|
java.util.List<EventTagOverride> |
getEventTagOverrides()
Event tag overrides for this ad.
|
GeoTargeting |
getGeoTargeting()
Geographical targeting information for this ad.
|
java.lang.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.
|
java.lang.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.
|
java.lang.String |
getName()
Name of this ad.
|
java.util.List<PlacementAssignment> |
getPlacementAssignments()
Placement assignments for this ad.
|
ListTargetingExpression |
getRemarketingListExpression()
Remarketing list targeting expression for this ad.
|
Size |
getSize()
Size of this ad.
|
java.lang.Boolean |
getSslCompliant()
Whether this ad is ssl compliant.
|
java.lang.Boolean |
getSslRequired()
Whether this ad requires ssl.
|
com.google.api.client.util.DateTime |
getStartTime()
Date and time that this ad should start serving.
|
java.lang.Long |
getSubaccountId()
Subaccount ID of this ad.
|
java.lang.Long |
getTargetingTemplateId()
Targeting template ID, used to apply preconfigured targeting information to this ad.
|
TechnologyTargeting |
getTechnologyTargeting()
Technology platform targeting information for this ad.
|
java.lang.String |
getType()
Type of ad.
|
Ad |
set(java.lang.String fieldName,
java.lang.Object value) |
Ad |
setAccountId(java.lang.Long accountId)
Account ID of this ad.
|
Ad |
setActive(java.lang.Boolean active)
Whether this ad is active.
|
Ad |
setAdvertiserId(java.lang.Long advertiserId)
Advertiser ID of this ad.
|
Ad |
setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
Dimension value for the ID of the advertiser.
|
Ad |
setArchived(java.lang.Boolean archived)
Whether this ad is archived.
|
Ad |
setAudienceSegmentId(java.lang.Long audienceSegmentId)
Audience segment ID that is being targeted for this ad.
|
Ad |
setCampaignId(java.lang.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(java.lang.String comments)
Comments for this ad.
|
Ad |
setCompatibility(java.lang.String compatibility)
Compatibility of this ad.
|
Ad |
setCreateInfo(LastModifiedInfo createInfo)
Information about the creation of this ad.
|
Ad |
setCreativeGroupAssignments(java.util.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(java.lang.Boolean dynamicClickTracker)
Whether this ad is a dynamic click tracker.
|
Ad |
setEndTime(com.google.api.client.util.DateTime endTime)
Date and time that this ad should stop serving.
|
Ad |
setEventTagOverrides(java.util.List<EventTagOverride> eventTagOverrides)
Event tag overrides for this ad.
|
Ad |
setGeoTargeting(GeoTargeting geoTargeting)
Geographical targeting information for this ad.
|
Ad |
setId(java.lang.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(java.lang.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(java.lang.String name)
Name of this ad.
|
Ad |
setPlacementAssignments(java.util.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(java.lang.Boolean sslCompliant)
Whether this ad is ssl compliant.
|
Ad |
setSslRequired(java.lang.Boolean sslRequired)
Whether this ad requires ssl.
|
Ad |
setStartTime(com.google.api.client.util.DateTime startTime)
Date and time that this ad should start serving.
|
Ad |
setSubaccountId(java.lang.Long subaccountId)
Subaccount ID of this ad.
|
Ad |
setTargetingTemplateId(java.lang.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(java.lang.String type)
Type of ad.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getAccountId()
null for nonepublic Ad setAccountId(java.lang.Long accountId)
accountId - accountId or null for nonepublic java.lang.Boolean getActive()
null for nonepublic Ad setActive(java.lang.Boolean active)
active - active or null for nonepublic java.lang.Long getAdvertiserId()
null for nonepublic Ad setAdvertiserId(java.lang.Long advertiserId)
advertiserId - advertiserId or null for nonepublic DimensionValue getAdvertiserIdDimensionValue()
null for nonepublic Ad setAdvertiserIdDimensionValue(DimensionValue advertiserIdDimensionValue)
advertiserIdDimensionValue - advertiserIdDimensionValue or null for nonepublic java.lang.Boolean getArchived()
null for nonepublic Ad setArchived(java.lang.Boolean archived)
archived - archived or null for nonepublic java.lang.Long getAudienceSegmentId()
null for nonepublic Ad setAudienceSegmentId(java.lang.Long audienceSegmentId)
audienceSegmentId - audienceSegmentId or null for nonepublic java.lang.Long getCampaignId()
null for nonepublic Ad setCampaignId(java.lang.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 java.lang.String getComments()
null for nonepublic Ad setComments(java.lang.String comments)
comments - comments or null for nonepublic java.lang.String getCompatibility()
null for nonepublic Ad setCompatibility(java.lang.String compatibility)
compatibility - compatibility or null for nonepublic LastModifiedInfo getCreateInfo()
null for nonepublic Ad setCreateInfo(LastModifiedInfo createInfo)
createInfo - createInfo or null for nonepublic java.util.List<CreativeGroupAssignment> getCreativeGroupAssignments()
null for nonepublic Ad setCreativeGroupAssignments(java.util.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 java.lang.Boolean getDynamicClickTracker()
null for nonepublic Ad setDynamicClickTracker(java.lang.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 java.util.List<EventTagOverride> getEventTagOverrides()
null for nonepublic Ad setEventTagOverrides(java.util.List<EventTagOverride> eventTagOverrides)
eventTagOverrides - eventTagOverrides or null for nonepublic GeoTargeting getGeoTargeting()
null for nonepublic Ad setGeoTargeting(GeoTargeting geoTargeting)
geoTargeting - geoTargeting or null for nonepublic java.lang.Long getId()
null for nonepublic Ad setId(java.lang.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 java.lang.String getKind()
null for nonepublic Ad setKind(java.lang.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 java.lang.String getName()
null for nonepublic Ad setName(java.lang.String name)
name - name or null for nonepublic java.util.List<PlacementAssignment> getPlacementAssignments()
null for nonepublic Ad setPlacementAssignments(java.util.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 java.lang.Boolean getSslCompliant()
null for nonepublic Ad setSslCompliant(java.lang.Boolean sslCompliant)
sslCompliant - sslCompliant or null for nonepublic java.lang.Boolean getSslRequired()
null for nonepublic Ad setSslRequired(java.lang.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 java.lang.Long getSubaccountId()
null for nonepublic Ad setSubaccountId(java.lang.Long subaccountId)
subaccountId - subaccountId or null for nonepublic java.lang.Long getTargetingTemplateId()
null for nonepublic Ad setTargetingTemplateId(java.lang.Long targetingTemplateId)
targetingTemplateId - targetingTemplateId or null for nonepublic TechnologyTargeting getTechnologyTargeting()
null for nonepublic Ad setTechnologyTargeting(TechnologyTargeting technologyTargeting)
technologyTargeting - technologyTargeting or null for nonepublic java.lang.String getType()
null for nonepublic Ad setType(java.lang.String type)
type - type or null for nonepublic Ad set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Ad clone()
clone in class com.google.api.client.json.GenericJson