PHP Class RichMediaAd, googleads-php-lib

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

Public Properties

Property Type Description
$adAttributes tnsRichMediaAdAdAttribute[]
$adDuration integer
$certifiedVendorFormatId integer
$dimensions Dimensions
$impressionBeaconUrl string
$name string
$richMediaAdType tnsRichMediaAdRichMediaAdType
$snippet string
$sourceUrl string

Public Methods

Method Description
__construct ( $name = null, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = 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 ( $name = null, $dimensions = null, $snippet = null, $impressionBeaconUrl = null, $adDuration = null, $certifiedVendorFormatId = null, $sourceUrl = null, $richMediaAdType = null, $adAttributes = 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

$adAttributes public property

public tnsRichMediaAdAdAttribute[] $adAttributes
return tnsRichMediaAdAdAttribute[]

$adDuration public property

public int $adDuration
return integer

$certifiedVendorFormatId public property

public int $certifiedVendorFormatId
return integer

$dimensions public property

public Dimensions $dimensions
return Dimensions

$impressionBeaconUrl public property

public string $impressionBeaconUrl
return string

$name public property

public string $name
return string

$richMediaAdType public property

public tnsRichMediaAdRichMediaAdType $richMediaAdType
return tnsRichMediaAdRichMediaAdType

$snippet public property

public string $snippet
return string

$sourceUrl public property

public string $sourceUrl
return string