Google Ads Ad Manager V1 Client - Class FixedDateRange (0.1.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class FixedDateRange.

A date range between two fixed dates (inclusive of end date).

Generated from protobuf message google.ads.admanager.v1.Report.DateRange.FixedDateRange

Namespace

Google \ Ads \ AdManager \ V1 \ Report \ DateRange

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_date Google\Type\Date

Required. The start date of this date range.

↳ end_date Google\Type\Date

Required. The end date (inclusive) of this date range.

getStartDate

Required. The start date of this date range.

Returns
Type Description
Google\Type\Date|null

hasStartDate

clearStartDate

setStartDate

Required. The start date of this date range.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getEndDate

Required. The end date (inclusive) of this date range.

Returns
Type Description
Google\Type\Date|null

hasEndDate

clearEndDate

setEndDate

Required. The end date (inclusive) of this date range.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this