[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eDayPartTargeting allows you to specify the days and times when ads should be displayed, enhancing ad delivery control.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes DayPart objects to define specific time ranges and DeliveryTimeZone to indicate the desired time zone for targeting.\u003c/p\u003e\n"],["\u003cp\u003eYou can access and manage DayPartTargeting through various services like AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService.\u003c/p\u003e\n"],["\u003cp\u003eDayPartTargeting relies on the Targeting dependency for its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the Google Ad Manager API and uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content details the `DayPartTargeting` functionality within the ad management API, specifically under the `YieldGroupService`. It outlines the `dayParts` field, which accepts an array of `DayPart` objects. Additionally, it specifies the `timeZone` field, accepting `DeliveryTimeZone` values, with `PUBLISHER` or `BROWSER` as possible options. Several other services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, and more, are also mentioned in connection to `DayPartTargeting`, the namespace for this service is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type DayPartTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.DayPartTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.DayPartTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DayPartTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.DayPartTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.DayPartTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DayPartTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.DayPartTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DayPartTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.DayPartTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/YieldGroupService.Targeting) \n▼\n**DayPartTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `dayParts` | ` `[DayPart](/ad-manager/api/reference/v202408/YieldGroupService.DayPart)`[]` \u003cbr /\u003e |\n| ### `timeZone` | ` `[DeliveryTimeZone](/ad-manager/api/reference/v202408/YieldGroupService.DeliveryTimeZone)` ` *** ** * ** *** **Enumerations** `PUBLISHER` : `BROWSER` : \u003cbr /\u003e |"]]