PHP Class AdRule, googleads-php-lib

Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$endDateTime DateTime
$frequencyCapBehavior tnsFrequencyCapBehavior
$id integer
$maxImpressionsPerLineItemPerPod integer
$maxImpressionsPerLineItemPerStream integer
$midroll BaseAdRuleSlot
$name string
$postroll BaseAdRuleSlot
$preroll BaseAdRuleSlot
$priority integer
$startDateTime DateTime
$startDateTimeType tnsStartDateTimeType
$status tnsAdRuleStatus
$targeting Targeting
$unlimitedEndDateTime boolean

Public Methods

Method Description
__construct ( $id = null, $name = null, $priority = null, $targeting = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $frequencyCapBehavior = null, $maxImpressionsPerLineItemPerStream = null, $maxImpressionsPerLineItemPerPod = null, $preroll = null, $midroll = null, $postroll = 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, $priority = null, $targeting = null, $startDateTime = null, $startDateTimeType = null, $endDateTime = null, $unlimitedEndDateTime = null, $status = null, $frequencyCapBehavior = null, $maxImpressionsPerLineItemPerStream = null, $maxImpressionsPerLineItemPerPod = null, $preroll = null, $midroll = null, $postroll = 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

$endDateTime public property

public DateTime $endDateTime
return DateTime

$frequencyCapBehavior public property

public tnsFrequencyCapBehavior $frequencyCapBehavior
return tnsFrequencyCapBehavior

$id public property

public int $id
return integer

$maxImpressionsPerLineItemPerPod public property

public int $maxImpressionsPerLineItemPerPod
return integer

$maxImpressionsPerLineItemPerStream public property

public int $maxImpressionsPerLineItemPerStream
return integer

$midroll public property

public BaseAdRuleSlot $midroll
return BaseAdRuleSlot

$name public property

public string $name
return string

$postroll public property

public BaseAdRuleSlot $postroll
return BaseAdRuleSlot

$preroll public property

public BaseAdRuleSlot $preroll
return BaseAdRuleSlot

$priority public property

public int $priority
return integer

$startDateTime public property

public DateTime $startDateTime
return DateTime

$startDateTimeType public property

public tnsStartDateTimeType $startDateTimeType
return tnsStartDateTimeType

$status public property

public tnsAdRuleStatus $status
return tnsAdRuleStatus

$targeting public property

public Targeting $targeting
return Targeting

$unlimitedEndDateTime public property

public bool $unlimitedEndDateTime
return boolean