awTemplateAdRepresents a <a href=
"http://www.google.com/adwords/displaynetwork/plan-creative-campaigns/display-ad-builder.html" >Display Ad Builder</a> 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 the <a href= "/apis/adwords/docs/appendix/templateads.html">Template Ads appendix</a>.
Located in /classes/cm/TemplateAd.php
awComplexObject | --awAd | --awTemplateAd
awAdUnionId
$adUnionId
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. <span class="constraint Selectable">This field can be selected using the value "TemplateAdUnionId".</span>
awDimensions
$dimensions
The dimensions for this ad.
int
$duration
Duration of this ad (if it contains playable media).
<span class="constraint Selectable">This field can be selected using the value "TemplateAdDuration".</span> <span class="constraint ReadOnly">This field is read only and should not be set. If this field is sent to the API, it will be ignored.</span>
string
$name
Name of this ad.
<span class="constraint Selectable">This field can be selected using the value "TemplateAdName".</span> <span class="constraint Required">This field is required and should not be {@code null}.</span>
awTemplateElement[]
$templateElements
List of elements (each containing a set of fields) for the template referenced by {@code templateId}. See the <a href="/apis/adwords/docs/appendix/templateads.html">Template Ads appendix</a> for the elements and fields required for each template.
long
$templateId
ID of the template to use.
<span class="constraint Selectable">This field can be selected using the value "TemplateId".</span>
mixed
$_checkFields
= array(Inherited from awAd
awAd::$approvalStatus
awAd::$disapprovalReasons
awAd::$displayUrl
awAd::$id
awAd::$trademarkDisapproved
awAd::$url
Inherited from awComplexObject
awComplexObject::$_cachedCheckFields
awComplexObject::$_row
Inherited From awAd
awAd::factory()
Inherited From awComplexObject
awComplexObject::__construct()
awComplexObject::factory()
awComplexObject::get()
awComplexObject::getAsObj()
awComplexObject::getCheckFields()
awComplexObject::getRow()
awComplexObject::getSoapVars()
awComplexObject::getXml()
awComplexObject::isEmpty()
awComplexObject::remove()
awComplexObject::set()
awComplexObject::setRow()
Documentation generated on Fri, 23 Mar 2012 13:44:15 +0200 by phpDocumentor 1.4.3