type OperatingSystemTargeting (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Represents operating systems 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.
[null,null,["Last updated 2025-08-06 UTC."],[],["The `OperatingSystemTargeting` feature manages the targeting or exclusion of operating systems for `LineItem` entities, accessible via multiple services like `AdRuleService`, `ForecastService`, and `LineItemService`. Key actions involve using the `isTargeted` boolean to specify inclusion or exclusion, defaulting to inclusion. The `operatingSystems` field lists the targeted systems, which can be defined from a variety of `Technology` entities like `Browser`, `DeviceCategory`, and `MobileDevice`, among others. The namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# type OperatingSystemTargeting (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.OperatingSystemTargeting) **AdjustmentService** [ForecastService](/ad-manager/api/reference/v202502/ForecastService.OperatingSystemTargeting) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.OperatingSystemTargeting) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.OperatingSystemTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.OperatingSystemTargeting) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.OperatingSystemTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.OperatingSystemTargeting) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.OperatingSystemTargeting) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.OperatingSystemTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202502/AdjustmentService.TechnologyTargeting) \n▼\n**OperatingSystemTargeting**\n\nRepresents operating systems 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| ### `isTargeted` | ` `xsd:`boolean` Indicates whether operating systems should be targeted or excluded. This attribute is optional and defaults to `true`. |\n| ### `operatingSystems` | 1. ` `[Technology](/ad-manager/api/reference/v202502/AdjustmentService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202502/AdjustmentService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202502/AdjustmentService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202502/AdjustmentService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202502/AdjustmentService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202502/AdjustmentService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202502/AdjustmentService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202502/AdjustmentService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202502/AdjustmentService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202502/AdjustmentService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202502/AdjustmentService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202502/AdjustmentService.OperatingSystemVersion)` ` \u003cbr /\u003e Operating systems that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem). |"]]