type BrowserLanguageTargeting (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Represents browser languages 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\u003eBrowserLanguageTargeting allows you to target or exclude users based on their browser language settings within a LineItem.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes a boolean field 'isTargeted' to determine whether to include or exclude the specified browser languages, defaulting to inclusion.\u003c/p\u003e\n"],["\u003cp\u003eThe 'browserLanguages' field accepts an array of Technology objects, specifically of type BrowserLanguage, to define the targeted or excluded languages.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting feature is accessible through various services like AdRuleService, AdjustmentService, ForecastService, and more, as listed.\u003c/p\u003e\n"],["\u003cp\u003eBrowserLanguageTargeting provides granular control over ad delivery based on user language preferences.\u003c/p\u003e\n"]]],["The core content describes `BrowserLanguageTargeting`, which specifies browser languages targeted or excluded by a `LineItem`. It's used across services like `AdRuleService`, `ForecastService`, and `LineItemService`. The namespace is `https://www.google.com/apis/ads/publisher/v202408`. Key fields include `isTargeted` (defaulting to true), indicating targeting or exclusion, and `browserLanguages`, an array specifying the targeted/excluded languages. It can also include other dependencies such as `Technology`, `BandwidthGroup` and `Browser`.\n"],null,["# type BrowserLanguageTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.BrowserLanguageTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.BrowserLanguageTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.BrowserLanguageTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.BrowserLanguageTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.BrowserLanguageTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.BrowserLanguageTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.BrowserLanguageTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.BrowserLanguageTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.BrowserLanguageTargeting) **Dependencies** \n[TechnologyTargeting](/ad-manager/api/reference/v202408/NativeStyleService.TechnologyTargeting) \n▼\n**BrowserLanguageTargeting**\n\nRepresents browser languages 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 languages should be targeted or excluded. This attribute is optional and defaults to `true`. |\n| ### `browserLanguages` | 1. ` `[Technology](/ad-manager/api/reference/v202408/NativeStyleService.Technology)`[]` 1. ` `[BandwidthGroup](/ad-manager/api/reference/v202408/NativeStyleService.BandwidthGroup)` ` 2. ` `[Browser](/ad-manager/api/reference/v202408/NativeStyleService.Browser)` ` 3. ` `[BrowserLanguage](/ad-manager/api/reference/v202408/NativeStyleService.BrowserLanguage)` ` 4. ` `[DeviceCapability](/ad-manager/api/reference/v202408/NativeStyleService.DeviceCapability)` ` 5. ` `[DeviceCategory](/ad-manager/api/reference/v202408/NativeStyleService.DeviceCategory)` ` 6. ` `[DeviceManufacturer](/ad-manager/api/reference/v202408/NativeStyleService.DeviceManufacturer)` ` 7. ` `[MobileCarrier](/ad-manager/api/reference/v202408/NativeStyleService.MobileCarrier)` ` 8. ` `[MobileDevice](/ad-manager/api/reference/v202408/NativeStyleService.MobileDevice)` ` 9. ` `[MobileDeviceSubmodel](/ad-manager/api/reference/v202408/NativeStyleService.MobileDeviceSubmodel)` ` 10. ` `[OperatingSystem](/ad-manager/api/reference/v202408/NativeStyleService.OperatingSystem)` ` 11. ` `[OperatingSystemVersion](/ad-manager/api/reference/v202408/NativeStyleService.OperatingSystemVersion)` ` \u003cbr /\u003e Browser languages that are being targeted or excluded by the [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem). |"]]