Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DateTimeRangeTargeting.
Represents targeting for a range of datetimes.
Generated from protobuf message google.ads.admanager.v1.DateTimeRangeTargeting
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeted_range |
array<Google\Type\Interval>
Optional. The targeted datetime ranges. |
getTargetedRange
Optional. The targeted datetime ranges.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Google\Type\Interval> |
|
setTargetedRange
Optional. The targeted datetime ranges.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Type\Interval>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|