REST Resource: countries

  • The Country resource provides information about countries that can be targeted by ads.

  • Each Country resource has a unique dartId used for targeting and reporting, along with a name, countryCode, and sslEnabled status.

  • The kind field identifies the resource as "dfareporting#country".

  • You can retrieve a specific country using the get method or a list of countries using the list method.

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

get

Gets one country by ID.

list

Retrieves a list of countries.