REST Resource: countries

  • The Country resource contains information about countries targetable by ads.

  • Country information includes DART ID, name, country code, and SSL enabled status.

  • Methods are available to get a single country by ID or list all countries.

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.