REST Resource: countries
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Country
Contains information about a country that can be targeted by ads.
JSON representation |
{
"dartId": string,
"name": string,
"countryCode": string,
"sslEnabled": boolean,
"kind": string
} |
Fields |
dartId |
string (int64 format)
DART ID of this country. This is the ID used for targeting and generating reports.
|
name |
string
Name of this country.
|
countryCode |
string
Country code.
|
sslEnabled |
boolean
Whether ad serving supports secure servers in this country.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#country"
.
|
Methods |
|
Gets one country by ID. |
|
Retrieves a list of countries. |
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,["- [Resource: Country](#Country)\n - [JSON representation](#Country.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Country Contains information about a country that can be targeted by ads.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------|\n| ``` { \"dartId\": string, \"name\": string, \"countryCode\": string, \"sslEnabled\": boolean, \"kind\": string } ``` |\n\n| Fields ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dartId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` DART ID of this country. This is the ID used for targeting and generating reports. |\n| `name` | `string` Name of this country. |\n| `countryCode` | `string` Country code. |\n| `sslEnabled` | `boolean` Whether ad serving supports secure servers in this country. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#country\"` . |\n\n| Methods ||\n|---------------------------------------------------------|--------------------------------|\n| [get](/doubleclick-advertisers/rest/v5/countries/get) | Gets one country by ID. |\n| [list](/doubleclick-advertisers/rest/v5/countries/list) | Retrieves a list of countries. |"]]