PHP Class Promotion, googleads-php-lib

Inheritance: extends ObjectModel
显示文件 Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$budget Money
$callTrackingEnabled boolean
$campaignIds integer[]
$creatives Creative[]
$criteria Criterion[]
$destinationUrl string
$expandedCreative ExpandedCreative
$id integer
$name string
$phoneNumber PhoneNumber
$remainingBudget Money
$status tnsPromotionStatus
$streetAddressVisible boolean

Public Methods

Method Description
__construct ( $id = null, $name = null, $status = null, $creatives = null, $destinationUrl = null, $phoneNumber = null, $streetAddressVisible = null, $callTrackingEnabled = null, $budget = null, $criteria = null, $campaignIds = null, $remainingBudget = 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 ( $id = null, $name = null, $status = null, $creatives = null, $destinationUrl = null, $phoneNumber = null, $streetAddressVisible = null, $callTrackingEnabled = null, $budget = null, $criteria = null, $campaignIds = null, $remainingBudget = 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

$budget public_oe property

public Money $budget
return Money

$callTrackingEnabled public_oe property

public bool $callTrackingEnabled
return boolean

$campaignIds public_oe property

public integer[] $campaignIds
return integer[]

$creatives public_oe property

public Creative[] $creatives
return Creative[]

$criteria public_oe property

public Criterion[] $criteria
return Criterion[]

$destinationUrl public_oe property

public string $destinationUrl
return string

$expandedCreative public_oe property

public ExpandedCreative $expandedCreative
return ExpandedCreative

$id public_oe property

public int $id
return integer

$name public_oe property

public string $name
return string

$phoneNumber public_oe property

public PhoneNumber $phoneNumber
return PhoneNumber

$remainingBudget public_oe property

public Money $remainingBudget
return Money

$status public_oe property

public tnsPromotionStatus $status
return tnsPromotionStatus

$streetAddressVisible public_oe property

public bool $streetAddressVisible
return boolean