type DayPartTargeting (v202411)
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/v202411
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-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["DayPartTargeting allows you to customize the delivery schedule of proposal line items based on specific days and times."],["By default, proposal line items are set to deliver at all times and days, unless DayPartTargeting is applied."],["You can define specific delivery days and times using the `dayParts` field, and set the delivery time zone using the `timeZone` field."],["The `timeZone` field defaults to the browser's time zone but can be configured to use the publisher's time zone."]]],["The core content describes `DayPartTargeting`, which allows modification of line item delivery times for specific days and times. Key actions include specifying `dayParts` to set delivery times, and `timeZone` to define the relevant time zone. By default, line items serve at all times. Available time zone options are `PUBLISHER` (publisher's time zone) and `BROWSER` (user's browser time zone). Other services mentioned, `AdRuleService` and `ProposalLineItemService` among others, relate to this targeting.\n"]]