type BrowserTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Represents browsers 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\u003eBrowserTargeting is used to target or exclude specific web browsers for a LineItem.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes an \u003ccode\u003eisTargeted\u003c/code\u003e field to determine if it's targeting (true) or excluding (false) browsers.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the targeted or excluded browsers using the \u003ccode\u003ebrowsers\u003c/code\u003e field, with options for technology, bandwidth, and more granular browser details.\u003c/p\u003e\n"],["\u003cp\u003eThe default behavior for \u003ccode\u003eisTargeted\u003c/code\u003e is true, meaning it will target specified browsers unless explicitly set to false for exclusion.\u003c/p\u003e\n"]]],["The core content details the `BrowserTargeting` functionality within ad management services. It defines whether browsers are targeted or excluded via the `isTargeted` boolean field. The `browsers` field specifies the types of targeting, referencing entities like `Technology`, `BandwidthGroup`, `Browser`, `DeviceCategory`, and others. This functionality interacts with services such as `AdRuleService`, `ForecastService`, `LineItemService`, and others, enabling granular control over ad serving to specific browser and technology attributes.\n"],null,["# type BrowserTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.BrowserTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.BrowserTargeting) **ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.BrowserTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.BrowserTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.BrowserTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.BrowserTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.BrowserTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.BrowserTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.BrowserTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202411/ForecastService.TechnologyTargeting) \n▼\n**BrowserTargeting**\n\nRepresents browsers 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 browsers should be targeted or excluded. This attribute is optional and defaults to `true`. |\n| ### `browsers` | 1. ` `[Technology](/ad-manager/api/reference/v202411/ForecastService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202411/ForecastService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202411/ForecastService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202411/ForecastService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202411/ForecastService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202411/ForecastService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202411/ForecastService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202411/ForecastService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202411/ForecastService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202411/ForecastService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202411/ForecastService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202411/ForecastService.OperatingSystemVersion)` ` \u003cbr /\u003e Browsers that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |"]]