type OperatingSystemTargeting (v202411)
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/v202411
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 allows publishers to target or exclude specific operating systems for their line items.\u003c/p\u003e\n"],["\u003cp\u003eIt uses a boolean field, \u003ccode\u003eisTargeted\u003c/code\u003e, to determine whether to include or exclude the specified operating systems, defaulting to include (\u003ccode\u003etrue\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003ePublishers can specify the operating systems using the \u003ccode\u003eoperatingSystems\u003c/code\u003e field, which accepts an array of \u003ccode\u003eTechnology\u003c/code\u003e objects representing the target operating systems.\u003c/p\u003e\n"],["\u003cp\u003eOperatingSystemTargeting is used within various Google Ad Manager services like AdRuleService, ForecastService, and LineItemService, among others, to refine ad delivery.\u003c/p\u003e\n"]]],["OperatingSystemTargeting manages the inclusion or exclusion of operating systems for LineItems. Key services include AdRuleService, AdjustmentService, ForecastService, and LineItemService. It utilizes the `isTargeted` field, a boolean indicating inclusion or exclusion, defaulting to `true`. The `operatingSystems` field specifies the targeted or excluded systems and includes an array of related technologies, such as Browser, DeviceCategory, MobileDevice, and OperatingSystemVersion. This is in the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type OperatingSystemTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.OperatingSystemTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.OperatingSystemTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.OperatingSystemTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.OperatingSystemTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.OperatingSystemTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.OperatingSystemTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.OperatingSystemTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.OperatingSystemTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.OperatingSystemTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202411/NativeStyleService.TechnologyTargeting) \n▼\n**OperatingSystemTargeting**\n\nRepresents operating systems that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\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/v202411/NativeStyleService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202411/NativeStyleService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202411/NativeStyleService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202411/NativeStyleService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202411/NativeStyleService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202411/NativeStyleService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202411/NativeStyleService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202411/NativeStyleService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202411/NativeStyleService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202411/NativeStyleService.OperatingSystemVersion)` ` \u003cbr /\u003e Operating systems that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |"]]