PHP Class TemplateAd, googleads-php-lib

This is disabled for AdX when it is contained within Operators: ADD, SET.
Inheritance: extends Ad
Datei anzeigen Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$adAsImage Image
$adUnionId AdUnionId
$dimensions Dimensions
$duration integer
$name string
$originAdId integer
$templateElements TemplateElement[]
$templateId integer

Public Methods

Method Description
__construct ( $templateId = null, $adUnionId = null, $templateElements = null, $adAsImage = null, $dimensions = null, $name = null, $duration = null, $originAdId = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Method Details

__construct() public method

public __construct ( $templateId = null, $adUnionId = null, $templateElements = null, $adAsImage = null, $dimensions = null, $name = null, $duration = null, $originAdId = null, $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

Property Details

$adAsImage public_oe property

public Image $adAsImage
return Image

$adUnionId public_oe property

public AdUnionId $adUnionId
return AdUnionId

$dimensions public_oe property

public Dimensions $dimensions
return Dimensions

$duration public_oe property

public int $duration
return integer

$name public_oe property

public string $name
return string

$originAdId public_oe property

public int $originAdId
return integer

$templateElements public_oe property

public TemplateElement[] $templateElements
return TemplateElement[]

$templateId public_oe property

public int $templateId
return integer