PHP Class CallOnlyAd, googleads-php-lib

Caution: Call only ads do not use {@link #url url}, {@link #finalUrls finalUrls}, {@link #finalMobileUrls finalMobileUrls}, {@link #finalAppUrls finalAppUrls}, {@link #urlCustomParameters urlCustomParameters}, or {@link #trackingUrlTemplate trackingUrlTemplate}; setting these fields on a call only ad will cause an error. This is enabled for AdX.

Inheritance: extends Ad
Mostrar archivo Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$businessName string
$callTracked boolean
$conversionTypeId integer
$countryCode string
$description1 string
$description2 string
$disableCallConversion boolean
$phoneNumber string
$phoneNumberVerificationUrl string

Public Methods

Method Description
__construct ( $countryCode = null, $phoneNumber = null, $businessName = null, $description1 = null, $description2 = null, $callTracked = null, $disableCallConversion = null, $conversionTypeId = null, $phoneNumberVerificationUrl = 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 ( $countryCode = null, $phoneNumber = null, $businessName = null, $description1 = null, $description2 = null, $callTracked = null, $disableCallConversion = null, $conversionTypeId = null, $phoneNumberVerificationUrl = 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

$businessName public_oe property

public string $businessName
return string

$callTracked public_oe property

public bool $callTracked
return boolean

$conversionTypeId public_oe property

public int $conversionTypeId
return integer

$countryCode public_oe property

public string $countryCode
return string

$description1 public_oe property

public string $description1
return string

$description2 public_oe property

public string $description2
return string

$disableCallConversion public_oe property

public bool $disableCallConversion
return boolean

$phoneNumber public_oe property

public string $phoneNumber
return string

$phoneNumberVerificationUrl public_oe property

public string $phoneNumberVerificationUrl
return string