type DeviceCategoryTargeting (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Represents device categories that are being targeted or excluded by the LineItem.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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 2025-08-06 UTC.
[[["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."],[],["DeviceCategoryTargeting defines device categories targeted or excluded by a LineItem. Services like AdRuleService, AdjustmentService, and ForecastService utilize this targeting. The `targetedDeviceCategories` field specifies the included device categories, which encompass technology, bandwidth, browsers, device capabilities, manufacturers, carriers, mobile devices, operating systems, and versions. `excludedDeviceCategories` mirrors this structure, listing device categories excluded from targeting, utilizing the same types of categorization.\n"],null,["**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.DeviceCategoryTargeting) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.DeviceCategoryTargeting) **ForecastService** [LineItemService](/ad-manager/api/reference/v202502/LineItemService.DeviceCategoryTargeting) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.DeviceCategoryTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.DeviceCategoryTargeting) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.DeviceCategoryTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.DeviceCategoryTargeting) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.DeviceCategoryTargeting) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.DeviceCategoryTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202502/ForecastService.TechnologyTargeting) \n▼\n**DeviceCategoryTargeting**\n\nRepresents device categories that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ||\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `targetedDeviceCategories` | 1. ` `[Technology](/ad-manager/api/reference/v202502/ForecastService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202502/ForecastService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202502/ForecastService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202502/ForecastService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202502/ForecastService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202502/ForecastService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202502/ForecastService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202502/ForecastService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202502/ForecastService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202502/ForecastService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202502/ForecastService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202502/ForecastService.OperatingSystemVersion)` ` \u003cbr /\u003e Device categories that are being targeted by the [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem). |\n| `excludedDeviceCategories` | 1. ` `[Technology](/ad-manager/api/reference/v202502/ForecastService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202502/ForecastService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202502/ForecastService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202502/ForecastService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202502/ForecastService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202502/ForecastService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202502/ForecastService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202502/ForecastService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202502/ForecastService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202502/ForecastService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202502/ForecastService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202502/ForecastService.OperatingSystemVersion)` ` \u003cbr /\u003e Device categories that are being excluded by the [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem). |"]]