PHP Class AspectRatioImageCreative, googleads-php-lib

{@link Size#isAspectRatio}. It can have multiple images whose dimensions conform to that aspect ratio.
Inheritance: extends HasDestinationUrlCreative
ファイルを表示 Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$altText string
$imageAssets CreativeAsset[]
$overrideSize boolean
$thirdPartyImpressionUrl string

Public Methods

Method Description
__construct ( $imageAssets = null, $altText = null, $thirdPartyImpressionUrl = null, $overrideSize = null, $destinationUrl = null, $destinationUrlType = 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 ( $imageAssets = null, $altText = null, $thirdPartyImpressionUrl = null, $overrideSize = null, $destinationUrl = null, $destinationUrlType = 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

$altText public_oe property

public string $altText
return string

$imageAssets public_oe property

public CreativeAsset[] $imageAssets
return CreativeAsset[]

$overrideSize public_oe property

public bool $overrideSize
return boolean

$thirdPartyImpressionUrl public_oe property

public string $thirdPartyImpressionUrl
return string