PHP Class ExpandedTextAd, googleads-php-lib

Caution: Expanded text ads do not use {@link #url url}, {@link #displayUrl displayUrl}, {@link #finalAppUrls finalAppUrls}, or {@link #devicePreference devicePreference}; setting these fields on an expanded text ad will cause an error. This is enabled for AdX.

Inheritance: extends Ad
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$description string
$headlinePart1 string
$headlinePart2 string
$path1 string
$path2 string

Public Methods

Method Description
__construct ( $headlinePart1 = null, $headlinePart2 = null, $description = null, $path1 = null, $path2 = 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 ( $headlinePart1 = null, $headlinePart2 = null, $description = null, $path1 = null, $path2 = 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

$description public property

public string $description
return string

$headlinePart1 public property

public string $headlinePart1
return string

$headlinePart2 public property

public string $headlinePart2
return string

$path1 public property

public string $path1
return string

$path2 public property

public string $path2
return string