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

Represents Gmail ad. More...

Inheritance diagram for Google.Api.Ads.AdWords.v201809.GmailAd:
Google.Api.Ads.AdWords.v201809.Ad

Classes

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

Properties

GmailTeaser teaser [get, set]
 Gmail teaser info. This field is required and should not be More...
 
Image headerImage [get, set]
 Header image. An image must first be created using the MediaService, and Image.mediaId must be populated when creating a "GmailAd". Valid image types are GIF, JPEG, and PNG. The minimum size is 300x100 and the aspect ratio must be in 3:1 to 5:1 (+-1%). This field can be selected using the value "GmailHeaderImage". More...
 
Image marketingImage [get, set]
 Marketing image. An image must first be created using the MediaService, and Image.mediaId must be populated when creating a "GmailAd".Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 600:314 (+-1%). For square marketing image, the minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Either productVideos or marketingImage must be specified. This field can be selected using the value "GmailMarketingImage". More...
 
string marketingImageHeadline [get, set]
 Headline of the marketing image. Maximum display width is 25 characters. This field can be selected using the value "MarketingImageHeadline".This field can be filtered on. This field is required and should not be More...
 
string marketingImageDescription [get, set]
 Description of the marketing image. Maximum display width is 90 characters. This field can be selected using the value "MarketingImageDescription".This field can be filtered on. This field is required and should not be More...
 
DisplayCallToAction marketingImageDisplayCallToAction [get, set]
 Display-call-to-action of the marketing image. The DisplayCallToAction.urlId field cannot be set when setting this field. More...
 
ProductImage[] productImages [get, set]
 Product images. Support up to 15 product images. This field can be selected using the value "ProductImages". More...
 
Video[] productVideoList [get, set]
 Product Videos. Either productVideoList or marketingImage must be specified. Supports up to 7 product videos. It must be a YouTube hosted video and mediaId must be populated. The YouTube hosted video can be added to AdWords through either the AdWords UI or through AdWords Scripts (https://developers.google.com/adwords/scripts/docs/reference/adwordsapp/adwordsapp_videobuilder). This field can be selected using the value "ProductVideoList". More...
 
- Properties inherited from Google.Api.Ads.AdWords.v201809.Ad
long id [get, set]
 ID of this ad. This field is ignored when creating ads using More...
 
bool idSpecified [get, set]
 
string url [get, set]
 Destination URL. More...
 
string displayUrl [get, set]
 Visible URL. This field can be selected using the value "DisplayUrl".This field can be filtered on. More...
 
string[] finalUrls [get, set]
 A list of possible final URLs after all cross domain redirects. More...
 
string[] finalMobileUrls [get, set]
 A list of possible final mobile URLs after all cross domain redirects. More...
 
AppUrl[] finalAppUrls [get, set]
 A list of final app URLs that will be used on mobile if the user has the specific app installed. More...
 
string trackingUrlTemplate [get, set]
 URL template for constructing a tracking URL. More...
 
string finalUrlSuffix [get, set]
 URL template for appending params to Final URL. More...
 
CustomParameters urlCustomParameters [get, set]
 A list of mappings to be used for substituting URL custom parameter tags in the trackingUrlTemplate, finalUrls, and/or finalMobileUrls. More...
 
UrlData[] urlData [get, set]
 Additional urls for the ad that are tagged with a unique identifier. Currently only used for TemplateAds for specific template IDs. For all other ad types, use finalUrls, finalMobileUrls and finalAppUrls instead. This field can be selected using the value "UrlData". More...
 
bool automated [get, set]
 Indicates if this ad was added by AdWords. This field can be selected using the value "Automated".This field can be filtered on. More...
 
bool automatedSpecified [get, set]
 
AdType type [get, set]
 Type of ad. This field can be selected using the value "AdType".This field can be filtered on. More...
 
bool typeSpecified [get, set]
 
long devicePreference [get, set]
 The device preference for the ad. You can only specify a preference for mobile devices (CriterionId 30001). If unspecified (no device preference), all devices are targeted. This field can be selected using the value "DevicePreference".This field can be filtered on. More...
 
bool devicePreferenceSpecified [get, set]
 
SystemManagedEntitySource systemManagedEntitySource [get, set]
 The source of this system-managed ad. This field can be selected using the value "SystemManagedEntitySource".This field can be filtered on. This field is read only and will be ignored when sent to the API. More...
 
bool systemManagedEntitySourceSpecified [get, set]
 
string AdType [get, set]
 Indicates that this instance is a subtype of Ad. 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 Gmail ad.

Caution: Gmail ads do not use url, displayUrl, finalAppUrls, or devicePreference; Setting these fields on a Gmail ad will cause an error. This is enabled for AdX.

Property Documentation

Image Google.Api.Ads.AdWords.v201809.GmailAd.headerImage
getset

Header image. An image must first be created using the MediaService, and Image.mediaId must be populated when creating a "GmailAd". Valid image types are GIF, JPEG, and PNG. The minimum size is 300x100 and the aspect ratio must be in 3:1 to 5:1 (+-1%). This field can be selected using the value "GmailHeaderImage".

Image Google.Api.Ads.AdWords.v201809.GmailAd.marketingImage
getset

Marketing image. An image must first be created using the MediaService, and Image.mediaId must be populated when creating a "GmailAd".Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 600:314 (+-1%). For square marketing image, the minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). Either productVideos or marketingImage must be specified. This field can be selected using the value "GmailMarketingImage".

string Google.Api.Ads.AdWords.v201809.GmailAd.marketingImageDescription
getset

Description of the marketing image. Maximum display width is 90 characters. This field can be selected using the value "MarketingImageDescription".This field can be filtered on. This field is required and should not be

null when it is contained within Operators : ADD.

DisplayCallToAction Google.Api.Ads.AdWords.v201809.GmailAd.marketingImageDisplayCallToAction
getset

Display-call-to-action of the marketing image. The DisplayCallToAction.urlId field cannot be set when setting this field.

string Google.Api.Ads.AdWords.v201809.GmailAd.marketingImageHeadline
getset

Headline of the marketing image. Maximum display width is 25 characters. This field can be selected using the value "MarketingImageHeadline".This field can be filtered on. This field is required and should not be

null when it is contained within Operators : ADD.

ProductImage [] Google.Api.Ads.AdWords.v201809.GmailAd.productImages
getset

Product images. Support up to 15 product images. This field can be selected using the value "ProductImages".

Video [] Google.Api.Ads.AdWords.v201809.GmailAd.productVideoList
getset

Product Videos. Either productVideoList or marketingImage must be specified. Supports up to 7 product videos. It must be a YouTube hosted video and mediaId must be populated. The YouTube hosted video can be added to AdWords through either the AdWords UI or through AdWords Scripts (https://developers.google.com/adwords/scripts/docs/reference/adwordsapp/adwordsapp_videobuilder). This field can be selected using the value "ProductVideoList".

GmailTeaser Google.Api.Ads.AdWords.v201809.GmailAd.teaser
getset

Gmail teaser info. This field is required and should not be

null when it is contained within Operators : ADD.


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