LanguageTargeting
Stay organized with collections
Save and categorize content based on your preferences.
JSON representation |
{
"languages": [
{
object (Language )
}
]
} |
Fields |
languages[] |
object (Language )
Languages that this ad targets. For each language only
languageId
is required. The other fields are populated automatically when the ad is inserted or updated.
|
Language
Contains information about a language that can be targeted by ads.
JSON representation |
{
"id": string,
"name": string,
"languageCode": string,
"kind": string
} |
Fields |
id |
string (int64 format)
Language ID of this language. This is the ID used for targeting and generating reports.
|
name |
string
Name of this language.
|
languageCode |
string
Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are "en" for English or "zh_CN" for Simplified Chinese.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#language"
.
|
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-09-02 UTC.
[null,null,["Last updated 2025-09-02 UTC."],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Language](#Language)\n - [JSON representation](#Language.SCHEMA_REPRESENTATION)\n\nLanguage Targeting.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------|\n| ``` { \"languages\": [ { object (/doubleclick-advertisers/rest/v5/LanguageTargeting#Language) } ] } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `languages[]` | `object (`[Language](/doubleclick-advertisers/rest/v5/LanguageTargeting#Language)`)` Languages that this ad targets. For each language only `languageId` is required. The other fields are populated automatically when the ad is inserted or updated. |\n\nLanguage Contains information about a language that can be targeted by ads.\n\n| JSON representation |\n|----------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"name\": string, \"languageCode\": string, \"kind\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Language ID of this language. This is the ID used for targeting and generating reports. |\n| `name` | `string` Name of this language. |\n| `languageCode` | `string` Format of language code is an ISO 639 two-letter language code optionally followed by an underscore followed by an ISO 3166 code. Examples are \"en\" for English or \"zh_CN\" for Simplified Chinese. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#language\"` . |"]]