PHP Класс TemplateAd, googleads-php-lib

This is disabled for AdX when it is contained within Operators: ADD, SET.
Наследование: extends Ad
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$adAsImage Image
$adUnionId AdUnionId
$dimensions Dimensions
$duration integer
$name string
$originAdId integer
$templateElements TemplateElement[]
$templateId integer

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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() публичный Метод

Gets the namesapce of this class
public getNamespace ( ) : string
Результат string the namespace of this class

getXsiTypeName() публичный Метод

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Результат string the xsi:type name of this class

Описание свойств

$adAsImage публичное свойство

public Image $adAsImage
Результат Image

$adUnionId публичное свойство

public AdUnionId $adUnionId
Результат AdUnionId

$dimensions публичное свойство

public Dimensions $dimensions
Результат Dimensions

$duration публичное свойство

public int $duration
Результат integer

$name публичное свойство

public string $name
Результат string

$originAdId публичное свойство

public int $originAdId
Результат integer

$templateElements публичное свойство

public TemplateElement[] $templateElements
Результат TemplateElement[]

$templateId публичное свойство

public int $templateId
Результат integer