PHP Class BaseAdRuleSlot, googleads-php-lib

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

Public Properties

Property Type Description
$bumper tnsAdRuleSlotBumper
$maxAdsInPod integer
$maxBumperDuration integer
$maxPodDuration integer
$maxVideoAdDuration integer
$minPodDuration integer
$minVideoAdDuration integer
$slotBehavior tnsAdRuleSlotBehavior
$videoMidrollFrequency string
$videoMidrollFrequencyType tnsMidrollFrequencyType

Public Methods

Method Description
__construct ( $slotBehavior = null, $minVideoAdDuration = null, $maxVideoAdDuration = null, $videoMidrollFrequencyType = null, $videoMidrollFrequency = null, $bumper = null, $maxBumperDuration = null, $minPodDuration = null, $maxPodDuration = null, $maxAdsInPod = 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 ( $slotBehavior = null, $minVideoAdDuration = null, $maxVideoAdDuration = null, $videoMidrollFrequencyType = null, $videoMidrollFrequency = null, $bumper = null, $maxBumperDuration = null, $minPodDuration = null, $maxPodDuration = null, $maxAdsInPod = 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

$bumper public property

public tnsAdRuleSlotBumper $bumper
return tnsAdRuleSlotBumper

$maxAdsInPod public property

public int $maxAdsInPod
return integer

$maxBumperDuration public property

public int $maxBumperDuration
return integer

$maxPodDuration public property

public int $maxPodDuration
return integer

$maxVideoAdDuration public property

public int $maxVideoAdDuration
return integer

$minPodDuration public property

public int $minPodDuration
return integer

$minVideoAdDuration public property

public int $minVideoAdDuration
return integer

$slotBehavior public property

public tnsAdRuleSlotBehavior $slotBehavior
return tnsAdRuleSlotBehavior

$videoMidrollFrequency public property

public string $videoMidrollFrequency
return string

$videoMidrollFrequencyType public property

public tnsMidrollFrequencyType $videoMidrollFrequencyType
return tnsMidrollFrequencyType