PHP Class AdSchedule, googleads-php-lib

It is a variant of {@code AdSchedule} that also keeps track of the time zone. Note: one single day may not have more than six AdSchedules after the time zone adjustment. This is disabled for AdX when it is contained within Operators: ADD, SET.
Inheritance: extends Criterion
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$dayOfWeek cmDayOfWeek
$dayOfWeek tnsDayOfWeek
$endHour integer
$endMinute cmMinuteOfHour
$endMinute tnsMinuteOfHour
$startHour integer
$startMinute cmMinuteOfHour
$startMinute tnsMinuteOfHour
$timeZone string

Public Methods

Method Description
__construct ( $dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $id = null, $type = null, $CriterionType = null )
__construct ( $dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = null, $id = null, $type = null, $CriterionType = 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 ( $dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $id = null, $type = null, $CriterionType = null )

__construct() public method

public __construct ( $dayOfWeek = null, $startHour = null, $startMinute = null, $endHour = null, $endMinute = null, $timeZone = null, $id = null, $type = null, $CriterionType = 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

$dayOfWeek public property

public cmDayOfWeek $dayOfWeek
return cmDayOfWeek

$dayOfWeek public property

public tnsDayOfWeek $dayOfWeek
return tnsDayOfWeek

$endHour public property

public int $endHour
return integer

$endMinute public property

public cmMinuteOfHour $endMinute
return cmMinuteOfHour

$endMinute public property

public tnsMinuteOfHour $endMinute
return tnsMinuteOfHour

$startHour public property

public int $startHour
return integer

$startMinute public property

public cmMinuteOfHour $startMinute
return cmMinuteOfHour

$startMinute public property

public tnsMinuteOfHour $startMinute
return tnsMinuteOfHour

$timeZone public property

public string $timeZone
return string