PHP Class Ad, googleads-php-lib

Inheritance: extends Eloquent
Show file Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$AdType string
$devicePreference integer
$displayUrl string
$finalAppUrls AppUrl[]
$finalMobileUrls string[]
$finalUrls string[]
$id integer
$trackingUrlTemplate string
$type tnsAdType
$url string
$urlCustomParameters CustomParameters

Public Methods

Method Description
__construct ( $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )
__get ( $var ) : mixed Provided for getting non-php-standard named variables
__set ( $var, $value ) Provided for setting non-php-standard named variables
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

Protected Methods

Method Description
getParameterMap ( ) : array Provided for getting non-php-standard named variables

Method Details

__construct() public method

public __construct ( $id = null, $url = null, $displayUrl = null, $finalUrls = null, $finalMobileUrls = null, $finalAppUrls = null, $trackingUrlTemplate = null, $urlCustomParameters = null, $type = null, $devicePreference = null, $AdType = null )

__get() public method

Provided for getting non-php-standard named variables
public __get ( $var ) : mixed
$var Variable name to get
return mixed Variable value

__set() public method

Provided for setting non-php-standard named variables
public __set ( $var, $value )
$var Variable name to set
$value Value to set

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getParameterMap() protected method

Provided for getting non-php-standard named variables
protected getParameterMap ( ) : array
return array parameter map

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

$AdType public property

public string $AdType
return string

$devicePreference public property

public int $devicePreference
return integer

$displayUrl public property

public string $displayUrl
return string

$finalAppUrls public property

public AppUrl[] $finalAppUrls
return AppUrl[]

$finalMobileUrls public property

public string[] $finalMobileUrls
return string[]

$finalUrls public property

public string[] $finalUrls
return string[]

$id public property

public int $id
return integer

$trackingUrlTemplate public property

public string $trackingUrlTemplate
return string

$type public property

public tnsAdType $type
return tnsAdType

$url public property

public string $url
return string

$urlCustomParameters public property

public CustomParameters $urlCustomParameters
return CustomParameters