type DayPartTargeting (v202402)
Modify the delivery times of line items for particular days of the week. By default, line items
are served at all days and times.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
Field
|
dayParts
|
DayPart[]
Specifies days of the week and times at which a LineItem will be delivered.
If targeting all days and times, this value will be ignored.
|
timeZone
|
DeliveryTimeZone
Specifies the time zone to be used for delivering
LineItem
objects. This attribute is optional and defaults to
DeliveryTimeZone.BROWSER.
Setting this has no effect if targeting all days and times.
Enumerations
-
PUBLISHER
- Use the time zone of the publisher.
-
BROWSER
- Use the time zone of the browser.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["DayPartTargeting allows you to control the delivery times of line items based on specific days and times of the week."],["By default, line items are delivered at all times and days, but DayPartTargeting lets you modify this for more granular control."],["You can specify the days of the week and times for delivery, as well as the desired time zone for delivery."],["The `dayParts` field defines the specific days and times, while the `timeZone` field sets the delivery time zone, which can be either the publisher's or the browser's time zone."]]],["The content describes `DayPartTargeting`, which modifies line item delivery times for specific days of the week. By default, line items serve at all times. Key fields include `dayParts`, an array specifying delivery days and times, and `timeZone`, which defines the time zone for delivery. Two possible `timeZone` enumerations include: `PUBLISHER` (publisher's time zone) or `BROWSER` (browser's time zone). The service and its related dependencies are specified in the documentation.\n"]]