type OperatingSystemTargeting (v202408)
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/v202408
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\u003eOperatingSystemTargeting is used to represent operating systems that are either targeted or excluded by a LineItem.\u003c/p\u003e\n"],["\u003cp\u003eBy default, operating systems are targeted unless 'isTargeted' is set to false.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify which operating systems to target or exclude using the 'operatingSystems' field, which accepts an array of OperatingSystem objects.\u003c/p\u003e\n"],["\u003cp\u003eOperatingSystemTargeting is part of the Google Ad Manager API and falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["OperatingSystemTargeting defines the selection or exclusion of operating systems for LineItems. It's utilized across various services, including AdRule, Forecast, and LineItem Services. Key actions involve setting `isTargeted` to true for inclusion or false for exclusion. The `operatingSystems` field, part of the Technology category, allows targeting specific OSes, and it can include other technologies, such as Browsers and Mobile Devices. The default for `isTargeted` is inclusion, if not specified.\n"],null,["# type OperatingSystemTargeting (v202408)\n\n**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.OperatingSystemTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.OperatingSystemTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.OperatingSystemTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.OperatingSystemTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.OperatingSystemTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.OperatingSystemTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.OperatingSystemTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.OperatingSystemTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.OperatingSystemTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202408/AdRuleService.TechnologyTargeting) \n▼\n**OperatingSystemTargeting**\n\nRepresents operating systems that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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/v202408/AdRuleService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202408/AdRuleService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202408/AdRuleService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202408/AdRuleService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202408/AdRuleService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202408/AdRuleService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202408/AdRuleService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202408/AdRuleService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202408/AdRuleService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202408/AdRuleService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202408/AdRuleService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202408/AdRuleService.OperatingSystemVersion)` ` \u003cbr /\u003e Operating systems that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem). |"]]