AdWords API
Feedback on this document

type TemplateAd (v201209)

Represents a Display Ad Builder template ad. A template ad is composed of a template (specified by its ID) and the data that populates the template's fields. For a list of available templates and their required fields, see Template Ads. This is disabled for AdX when it is contained within Operators: ADD, SET.


Namespace
https://adwords.google.com/api/adwords/cm/v201209
Fields
Field Type Description
Ad (inherited)
id
Filterable
Selectable
xsd:long ID of this ad. This field is ignored when creating ads using AdGroupAdService. This field can be selected using the value "Id". This field can be filtered on.
url
Filterable
Selectable
xsd:string Destination URL. This field can be selected using the value "Url". This field can be filtered on.
displayUrl
Filterable
Selectable
xsd:string Visible URL. This field can be selected using the value "DisplayUrl". This field can be filtered on.
disapprovalReasons
ReadOnly
Selectable
xsd:string[] List of disapproval reasons. This field can be selected using the value "DisapprovalReasons". This field is read only and should not be set. If this field is sent to the API, it will be ignored.
Ad.Type xsd:string 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.
TemplateAd
templateId
Selectable
xsd:long ID of the template to use. This field can be selected using the value "TemplateId".
adUnionId
Selectable
  1. AdUnionId
    1. TempAdUnionId
Group ID of all template ads, which should be created together. Template ads in the same union reference the same data but have different dimensions. Single ads do not have a union ID. If a template ad specifies an ad union with only one ad, no union will be created. This field can be selected using the value "TemplateAdUnionId".
templateElements TemplateElement[] List of elements (each containing a set of fields) for the template referenced by templateId. See Template Ads for the elements and fields required for each template.
dimensions Dimensions The dimensions for this ad.
name
Required
Selectable
xsd:string Name of this ad. This field can be selected using the value "TemplateAdName". This field is required and should not be null.
duration
ReadOnly
Selectable
xsd:int Duration of this ad (if it contains playable media). This field can be selected using the value "TemplateAdDuration". This field is read only and should not be set. If this field is sent to the API, it will be ignored.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.