type DeviceCategory (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Represents the category of a device.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
Technology (inherited)
|
id
|
xsd:long
The unique ID of the Technology . This value is required for all forms of TechnologyTargeting .
|
name
|
xsd:string
The name of the technology being targeting. This value is read-only and is assigned by Google.
|
DeviceCategory
|
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.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eForecastService.DeviceCategory\u003c/code\u003e object represents the category of a device, such as desktop, smartphone, or tablet.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from the \u003ccode\u003eTechnology\u003c/code\u003e object, including a unique ID and a read-only name assigned by Google.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeviceCategory\u003c/code\u003e is used for targeting ads to specific device categories within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe object is part of the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The provided content details various services and their components within an ad management system. Key services include `AdRuleService`, `AdjustmentService`, `ForecastService`, and others related to line items, native styles, proposals, and targeting. The `ForecastService` utilizes inherited `Technology` attributes such as `BandwidthGroup`, `Browser`, `DeviceCapability`, `DeviceCategory`, and more. `DeviceCategory`, a subcomponent of `Technology`, represents the category of a device, and it has fields `id` and `name`.\n"],null,["# type DeviceCategory (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.DeviceCategory) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.DeviceCategory) **ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.DeviceCategory) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCategory) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.DeviceCategory) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.DeviceCategory) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.DeviceCategory) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.DeviceCategory) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.DeviceCategory) **Inheritance** \n[Technology](/ad-manager/api/reference/v202411/ForecastService.Technology) \n▼\n[BandwidthGroup](/ad-manager/api/reference/v202411/ForecastService.BandwidthGroup) [Browser](/ad-manager/api/reference/v202411/ForecastService.Browser) [BrowserLanguage](/ad-manager/api/reference/v202411/ForecastService.BrowserLanguage) [DeviceCapability](/ad-manager/api/reference/v202411/ForecastService.DeviceCapability) **DeviceCategory** [DeviceManufacturer](/ad-manager/api/reference/v202411/ForecastService.DeviceManufacturer) [MobileCarrier](/ad-manager/api/reference/v202411/ForecastService.MobileCarrier) [MobileDevice](/ad-manager/api/reference/v202411/ForecastService.MobileDevice) [MobileDeviceSubmodel](/ad-manager/api/reference/v202411/ForecastService.MobileDeviceSubmodel) [OperatingSystem](/ad-manager/api/reference/v202411/ForecastService.OperatingSystem) [OperatingSystemVersion](/ad-manager/api/reference/v202411/ForecastService.OperatingSystemVersion)\n\nRepresents the category of a device.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|------------|-----------------------------------------------------------------------------------------------------------------|\n| **`Technology` (inherited)** ||\n| ### `id` | ` `xsd:`long` The unique ID of the `Technology`. This value is required for all forms of `TechnologyTargeting`. |\n| ### `name` | ` `xsd:`string` The name of the technology being targeting. This value is read-only and is assigned by Google. |\n| **`DeviceCategory`** ||"]]