type DeviceCategory (v202408)
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/v202408
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\u003eDeviceCategory represents the category of a device, providing a way to target ads based on device type.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the Technology object, which includes an ID and a name assigned by Google.\u003c/p\u003e\n"],["\u003cp\u003eDeviceCategory can be used in various services like AdRuleService, ForecastService, LineItemService, and more for targeting purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for DeviceCategory is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two main fields: 'id' (a unique identifier) and 'name' (a read-only name assigned by Google).\u003c/p\u003e\n"]]],["The core content details the structure and attributes of `DeviceCategory` within a service framework. Key services include AdRuleService, ForecastService, LineItemService, and others. `DeviceCategory` inherits from `Technology`, featuring `id` (a unique long integer) and `name` (a read-only string). Other related categories like `BandwidthGroup`, `Browser`, and `OperatingSystem` are listed under inheritance. The namespace for these elements is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type DeviceCategory (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.DeviceCategory) **AdjustmentService** [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DeviceCategory) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.DeviceCategory) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.DeviceCategory) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DeviceCategory) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.DeviceCategory) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.DeviceCategory) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.DeviceCategory) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.DeviceCategory) **Inheritance** \n[Technology](/ad-manager/api/reference/v202408/AdjustmentService.Technology) \n▼\n[BandwidthGroup](/ad-manager/api/reference/v202408/AdjustmentService.BandwidthGroup) [Browser](/ad-manager/api/reference/v202408/AdjustmentService.Browser) [BrowserLanguage](/ad-manager/api/reference/v202408/AdjustmentService.BrowserLanguage) [DeviceCapability](/ad-manager/api/reference/v202408/AdjustmentService.DeviceCapability) **DeviceCategory** [DeviceManufacturer](/ad-manager/api/reference/v202408/AdjustmentService.DeviceManufacturer) [MobileCarrier](/ad-manager/api/reference/v202408/AdjustmentService.MobileCarrier) [MobileDevice](/ad-manager/api/reference/v202408/AdjustmentService.MobileDevice) [MobileDeviceSubmodel](/ad-manager/api/reference/v202408/AdjustmentService.MobileDeviceSubmodel) [OperatingSystem](/ad-manager/api/reference/v202408/AdjustmentService.OperatingSystem) [OperatingSystemVersion](/ad-manager/api/reference/v202408/AdjustmentService.OperatingSystemVersion)\n\nRepresents the category of a device.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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`** ||"]]