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\u003e\u003ccode\u003eBrowserTargeting\u003c/code\u003e objects represent the specific web browsers a Line Item is set to either target or exclude in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eBy default, \u003ccode\u003eBrowserTargeting\u003c/code\u003e is set to target, but this can be changed via the \u003ccode\u003eisTargeted\u003c/code\u003e field to exclude specific browsers instead.\u003c/p\u003e\n"],["\u003cp\u003eAdvertisers can use \u003ccode\u003eBrowserTargeting\u003c/code\u003e to refine the audience for their Line Items based on browser types such as Chrome, Firefox, or Safari, among other criteria using various Technology types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebrowsers\u003c/code\u003e field within \u003ccode\u003eBrowserTargeting\u003c/code\u003e allows for specifying an array of different technologies, including specific browsers, operating systems, devices, and more for targeting purposes.\u003c/p\u003e\n"]]],["The `BrowserTargeting` feature allows for targeting or excluding specific browsers for `LineItem` within various services including `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService` `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It uses the `isTargeted` field (defaulting to true) to determine if browsers are included or excluded. The `browsers` field contains an array of `Technology`, `BandwidthGroup`, `Browser`, and other `Device` attributes, among others, for granular control.\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](/ad-manager/api/reference/v202411/ForecastService.BrowserTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.BrowserTargeting) **NativeStyleService** [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/NativeStyleService.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/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 Browsers that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |"]]