type DayPartTargeting (v202411)

  • 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 served at all times and days, but DayPartTargeting lets you modify this behavior.

  • You can specify the days and times for delivery using the dayParts field and optionally define the time zone with the timeZone field.

  • If targeting all days and times, the dayParts and timeZone values are ignored.

  • The timeZone attribute defaults to the browser's time zone but can be set to the publisher's time zone as well.

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.