[[["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\u003eDeviceCategoryTargeting allows you to target or exclude specific device categories in your line items.\u003c/p\u003e\n"],["\u003cp\u003eYou can target or exclude categories like bandwidth groups, browsers, device capabilities, mobile carriers, and operating systems.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etargetedDeviceCategories\u003c/code\u003e field defines the device categories being targeted by the line item.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eexcludedDeviceCategories\u003c/code\u003e field defines the device categories being excluded by the line item.\u003c/p\u003e\n"]]],["`DeviceCategoryTargeting` specifies device categories targeted or excluded by a `LineItem`. It uses services like `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, and others. The `targetedDeviceCategories` field lists categories to include, including technology, bandwidth, browsers, and device types. The `excludedDeviceCategories` field mirrors this, specifying device categories to exclude. Both fields include eleven different device attributes to define included and excluded categories. The namespace for this data is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.DeviceCategoryTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.DeviceCategoryTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.DeviceCategoryTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.DeviceCategoryTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.DeviceCategoryTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.DeviceCategoryTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.DeviceCategoryTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.DeviceCategoryTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.DeviceCategoryTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202411/NativeStyleService.TechnologyTargeting) \n▼\n**DeviceCategoryTargeting**\n\nRepresents device categories that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ||\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetedDeviceCategories` | 1. ` `[Technology](/ad-manager/api/reference/v202411/NativeStyleService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202411/NativeStyleService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202411/NativeStyleService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202411/NativeStyleService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202411/NativeStyleService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202411/NativeStyleService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202411/NativeStyleService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202411/NativeStyleService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystemVersion)` ` \u003cbr /\u003e Device categories that are being targeted by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |\n| `excludedDeviceCategories` | 1. ` `[Technology](/ad-manager/api/reference/v202411/NativeStyleService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202411/NativeStyleService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202411/NativeStyleService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202411/NativeStyleService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202411/NativeStyleService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202411/NativeStyleService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202411/NativeStyleService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202411/NativeStyleService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystemVersion)` ` \u003cbr /\u003e Device categories that are being excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |"]]