Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DateRange.
A date range for a report.
Generated from protobuf message google.ads.admanager.v1.Report.DateRange
Namespace
Google \ Ads \ AdManager \ V1 \ ReportMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ fixed |
DateRange\FixedDateRange
A fixed date range. |
↳ relative |
int
A relative date range. |
getFixed
A fixed date range.
Returns | |
---|---|
Type | Description |
DateRange\FixedDateRange|null |
hasFixed
setFixed
A fixed date range.
Parameter | |
---|---|
Name | Description |
var |
DateRange\FixedDateRange
|
Returns | |
---|---|
Type | Description |
$this |
getRelative
A relative date range.
Returns | |
---|---|
Type | Description |
int |
hasRelative
setRelative
A relative date range.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getDateRangeType
Returns | |
---|---|
Type | Description |
string |