type BrowserTargeting (v202408)
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/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\u003e\u003ccode\u003eBrowserTargeting\u003c/code\u003e allows publishers to target or exclude specific web browsers for their line items.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a boolean field, \u003ccode\u003eisTargeted\u003c/code\u003e, to determine if the specified browsers should be targeted (\u003ccode\u003etrue\u003c/code\u003e) or excluded (\u003ccode\u003efalse\u003c/code\u003e), defaulting to \u003ccode\u003etrue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebrowsers\u003c/code\u003e field contains an array of \u003ccode\u003eTechnology\u003c/code\u003e objects that define the specific browsers to be included or excluded in the targeting.\u003c/p\u003e\n"],["\u003cp\u003eThese \u003ccode\u003eTechnology\u003c/code\u003e objects can further specify detailed browser criteria including bandwidth group, language, device capabilities, and more.\u003c/p\u003e\n"]]],["The document defines `BrowserTargeting`, which specifies whether browsers are targeted or excluded for a `LineItem`. It includes the `isTargeted` field, a boolean indicating if targeting or exclusion is active, defaulting to `true`. The `browsers` field lists the types of technology, for example: `Technology`, `BandwidthGroup`, `Browser`, `BrowserLanguage`, etc.. This information can be used with the different services available, like: `AdRuleService`, `ForecastService`, `LineItemService`, etc..\n"],null,["# type BrowserTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.BrowserTargeting) **AdjustmentService** [ForecastService](/ad-manager/api/reference/v202408/ForecastService.BrowserTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.BrowserTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.BrowserTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.BrowserTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.BrowserTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.BrowserTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.BrowserTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.BrowserTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202408/AdjustmentService.TechnologyTargeting) \n▼\n**BrowserTargeting**\n\nRepresents browsers 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 browsers should be targeted or excluded. This attribute is optional and defaults to `true`. |\n| ### `browsers` | 1. ` `[Technology](/ad-manager/api/reference/v202408/AdjustmentService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202408/AdjustmentService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202408/AdjustmentService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202408/AdjustmentService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202408/AdjustmentService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202408/AdjustmentService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202408/AdjustmentService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202408/AdjustmentService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202408/AdjustmentService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202408/AdjustmentService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202408/AdjustmentService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202408/AdjustmentService.OperatingSystemVersion)` ` \u003cbr /\u003e Browsers that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem). |"]]