type DayPartTargeting (v202408)
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/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 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 this can be modified using the `dayParts` field to specify delivery windows."],["The `timeZone` field lets you choose between using the publisher's or the user's browser's time zone for delivery scheduling, defaulting to the browser's time zone if not specified."]]],["The core content details how to modify line item delivery times using `DayPartTargeting`. Key actions include specifying `dayParts`, which define the days and times for `LineItem` delivery. `timeZone` specifies the delivery time zone, defaulting to `BROWSER` (browser's time zone). If all days and times are targeted, `dayParts` and `timeZone` are ignored. The `PUBLISHER` and `BROWSER` enumerations represent different options of time zones. This functionality is accessible through various services like `AdRuleService` and `ProposalService`.\n"]]