type BrowserLanguageTargeting (v202411)
Represents browser languages 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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["`BrowserLanguageTargeting` allows publishers to target or exclude users based on their browser language settings in Google Ad Manager."],["It is used within Line Items to refine ad delivery to specific language audiences."],["Two key fields, `isTargeted` and `browserLanguages`, determine the targeting or exclusion logic and the specific languages to include."],["`isTargeted` defines whether the languages listed in `browserLanguages` should be targeted (included) or excluded from ad delivery, defaulting to inclusion if not specified."],["`browserLanguages` field accepts an array of `BrowserLanguage` objects, representing the specific languages for targeting or exclusion criteria."]]],["The document details the `BrowserLanguageTargeting` feature within various services like `AdRuleService`, `LineItemService`, and `ProposalLineItemService`. It defines `BrowserLanguageTargeting` as a mechanism to target or exclude specific browser languages for `LineItem`. Key actions involve setting the `isTargeted` field (defaulting to `true`) to indicate whether to target or exclude languages and using the `browserLanguages` field to specify which `BrowserLanguage` instances are being targeted or excluded.\n"]]