Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdWords.v201809.PromotionFeedItem Class Reference

Represents a promotion extension. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.PromotionFeedItem:
Google.Api.Ads.AdWords.v201809.ExtensionFeedItem

Classes

class  Fields
 List of all supported fields for the PromotionFeedItem class. More...
 
class  FilterableFields
 List of all supported filterable fields for the PromotionFeedItem class. More...
 
class  SelectableFields
 List of all supported selectable fields for the PromotionFeedItem class. More...
 

Properties

string promotionTarget [get, set]
 Promotion target. Required. More...
 
PromotionExtensionDiscountModifier discountModifier [get, set]
 Discount modifier. Optional. More...
 
bool discountModifierSpecified [get, set]
 
long percentOff [get, set]
 Percent off in micros. One million is equivalent to one percent. Either percentOff or moneyAmountOff is required. Cannot set both percentOff and moneyAmountOff. More...
 
bool percentOffSpecified [get, set]
 
MoneyWithCurrency moneyAmountOff [get, set]
 Money amount off. Either percentOff or moneyAmountOff is required. Cannot set both moneyAmountOff and percentOff. More...
 
string promotionCode [get, set]
 Promotion code. Optional. Cannot set both promotionCode and ordersOverAmount. More...
 
MoneyWithCurrency ordersOverAmount [get, set]
 Orders over amount. Optional. Cannot set both ordersOverAmount and promotionCode. More...
 
string promotionStart [get, set]
 Promotion start. Optional. The time part must be set to midnight. The special value "00000101 000000" may be used to clear an existing value. More...
 
string promotionEnd [get, set]
 Promotion end. Optional The time part must be set to midnight. The special value "00000101 000000" may be used to clear an existing value. More...
 
PromotionExtensionOccasion occasion [get, set]
 Occasion of the promotion. Optional. More...
 
bool occasionSpecified [get, set]
 
UrlList finalUrls [get, set]
 Final URLs. Required. More...
 
UrlList finalMobileUrls [get, set]
 Final mobile URLs. Optional. More...
 
string trackingUrlTemplate [get, set]
 Tracking URL template. Optional. More...
 
string finalUrlSuffix [get, set]
 Final URL suffix to be appended to landing page URLs served with parallel tracking. To clear this field, set its value to the empty string. More...
 
CustomParameters promotionUrlCustomParameters [get, set]
 A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls. More...
 
string language [get, set]
 The language of the promotion. Optional. The default language is English. Represented as a BCP 47 language tag. Supported language codes: More...
 
- Properties inherited from Google.Api.Ads.AdWords.v201809.ExtensionFeedItem
long feedId [get, set]
 Id of this feed item's feed. This field is read only and will be ignored when sent to the API. More...
 
bool feedIdSpecified [get, set]
 
long feedItemId [get, set]
 Id of the feed item. More...
 
bool feedItemIdSpecified [get, set]
 
FeedItemStatus status [get, set]
 Status of the feed item. This field is read only and will be ignored when sent to the API. More...
 
bool statusSpecified [get, set]
 
FeedType feedType [get, set]
 The type of the feed containing this extension feed item data. The field will be set by a subclass with a defined feed type. This field is read only and will be ignored when sent to the API. More...
 
bool feedTypeSpecified [get, set]
 
string startTime [get, set]
 Start time in which this feed item is effective and can begin serving. The time zone of startTime must either match the time zone of the account or be unspecified where the time zone defaults to the account time zone. This field may be null to indicate no start time restriction. The special value "00000101 000000" may be used to clear an existing start time. This field is read only and will be ignored when sent to the API for the following Operators: REMOVE. More...
 
string endTime [get, set]
 End time in which this feed item is no longer effective and will stop serving. The time zone of endTime must either match the time zone of the account or be unspecified where the time zone defaults to the account time zone. This field may be null to indicate no end time restriction. The special value "00000101 000000" may be used to clear an existing end time. This field is read only and will be ignored when sent to the API for the following Operators: REMOVE. More...
 
FeedItemDevicePreference devicePreference [get, set]
 Device preference for the feed item. More...
 
FeedItemSchedule[] scheduling [get, set]
 FeedItemScheduling specifying times for when the feed item may serve. On retrieval or creation of the feed item, if the field is left null, no feed item scheduling restrictions are placed on the feed item. On update, if the field is left unspecified, the previous feedItemScheduling state will not be changed. On update, if the field is set with a FeedItemScheduling with an empty feedItemSchedules list, the scheduling will be cleared of all FeedItemSchedules indicating the feed item has no scheduling restrictions. More...
 
FeedItemCampaignTargeting campaignTargeting [get, set]
 Campaign targeting specifying what campaign this extension can serve with. On update, if the field is left unspecified, the previous campaign targeting state will not be changed. On update, if the field is set with an empty FeedItemCampaignTargeting, the campaign targeting will be cleared. Note: If adGroupTargeting and campaignTargeting are set (either in the request or pre-existing from a previous request), the targeted campaign must match the targeted adgroup's campaign. If only adGroupTargeting is specified and there is no campaignTargeting, then a campaignTargeting will be set to the targeted adgroup's campaign. More...
 
FeedItemAdGroupTargeting adGroupTargeting [get, set]
 Adgroup targeting specifying what adgroup this extension can serve with. On update, if the field is left unspecified, the previous adgroup targeting state will not be changed. On update, if the field is set with an empty FeedItemAdGroupTargeting, the adgroup targeting will be cleared. Note: If adGroupTargeting and campaignTargeting are set (either in the request or pre-existing from a previous request), the targeted campaign must match the targeted adgroup's campaign. If only adGroupTargeting is specified and there is no campaignTargeting, then a campaignTargeting will be set to the targeted adgroup's campaign. More...
 
Keyword keywordTargeting [get, set]
 Keyword targeting specifies what keyword this extension can serve with. On update, if the field is left unspecified, the previous keyword targeting state will not be changed. On update, if the field is set with a Keyword and without Keyword.text set keyword targeting will be cleared. More...
 
Location geoTargeting [get, set]
 Geo targeting specifies what locations this extension can serve with. On update, if the field is left unspecified, the previous geo targeting state will not be changed. On update, if the field is set with a null value for criterionId, the geo targeting will be cleared. More...
 
FeedItemGeoRestriction geoTargetingRestriction [get, set]
 Geo targeting restriction specifies the type of location that can be used for targeting. On update, if the field is left unspecified, the previous geo targeting restriction state will not be changed. On update, if the field is set with a null GeoRestriction enum, the geo targeting restriction will be cleared. More...
 
FeedItemPolicySummary[] policySummaries [get, set]
 Summary of a feed item's offline validation, policy findings, and approval results. This field is read only and will be ignored when sent to the API. More...
 
string ExtensionFeedItemType [get, set]
 Indicates that this instance is a subtype of ExtensionFeedItem. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead. More...
 

Detailed Description

Represents a promotion extension.

Property Documentation

PromotionExtensionDiscountModifier Google.Api.Ads.AdWords.v201809.PromotionFeedItem.discountModifier
getset

Discount modifier. Optional.

bool Google.Api.Ads.AdWords.v201809.PromotionFeedItem.discountModifierSpecified
getset

true, if a value is specified for discountModifier, false otherwise.

UrlList Google.Api.Ads.AdWords.v201809.PromotionFeedItem.finalMobileUrls
getset

Final mobile URLs. Optional.

UrlList Google.Api.Ads.AdWords.v201809.PromotionFeedItem.finalUrls
getset

Final URLs. Required.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.finalUrlSuffix
getset

Final URL suffix to be appended to landing page URLs served with parallel tracking. To clear this field, set its value to the empty string.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.language
getset

The language of the promotion. Optional. The default language is English. Represented as a BCP 47 language tag. Supported language codes:

  • ar
  • bg
  • ca
  • zh-HK
  • zh-CN
  • zh-TW
  • hr
  • cs
  • da
  • nl
  • en-AU
  • en
  • en-GB
  • en-US
  • et
  • fil
  • fi
  • fr
  • de
  • el
  • iw
  • hi
  • hu
  • id
  • it
  • ja
  • ko
  • lv
  • lt
  • ms
  • no
  • pl
  • pt-BR
  • pt-PT
  • ro
  • ru
  • sr
  • sk
  • sl
  • es
  • es-419
  • sv
  • th
  • tr
  • uk
  • vi
MoneyWithCurrency Google.Api.Ads.AdWords.v201809.PromotionFeedItem.moneyAmountOff
getset

Money amount off. Either percentOff or moneyAmountOff is required. Cannot set both moneyAmountOff and percentOff.

PromotionExtensionOccasion Google.Api.Ads.AdWords.v201809.PromotionFeedItem.occasion
getset

Occasion of the promotion. Optional.

bool Google.Api.Ads.AdWords.v201809.PromotionFeedItem.occasionSpecified
getset

true, if a value is specified for occasion, false otherwise.

MoneyWithCurrency Google.Api.Ads.AdWords.v201809.PromotionFeedItem.ordersOverAmount
getset

Orders over amount. Optional. Cannot set both ordersOverAmount and promotionCode.

long Google.Api.Ads.AdWords.v201809.PromotionFeedItem.percentOff
getset

Percent off in micros. One million is equivalent to one percent. Either percentOff or moneyAmountOff is required. Cannot set both percentOff and moneyAmountOff.

bool Google.Api.Ads.AdWords.v201809.PromotionFeedItem.percentOffSpecified
getset

true, if a value is specified for percentOff, false otherwise.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.promotionCode
getset

Promotion code. Optional. Cannot set both promotionCode and ordersOverAmount.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.promotionEnd
getset

Promotion end. Optional The time part must be set to midnight. The special value "00000101 000000" may be used to clear an existing value.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.promotionStart
getset

Promotion start. Optional. The time part must be set to midnight. The special value "00000101 000000" may be used to clear an existing value.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.promotionTarget
getset

Promotion target. Required.

CustomParameters Google.Api.Ads.AdWords.v201809.PromotionFeedItem.promotionUrlCustomParameters
getset

A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls.

string Google.Api.Ads.AdWords.v201809.PromotionFeedItem.trackingUrlTemplate
getset

Tracking URL template. Optional.


The documentation for this class was generated from the following file: