Method: countries.get

  • This document details how to get a single country by ID using an HTTP GET request.

  • The request requires specifying a profileId and dartId in the URL path.

  • The request body must be empty for this operation.

  • A successful response will return a Country object.

  • Authorization requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one country by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/countries/{dartId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

dartId

string (int64 format)

Country DART ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Country.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking