Method: countries.get

  • Retrieves detailed information about a specific country using its unique identifier.

  • Utilizes a GET request method with the country's DART ID and user profile ID specified in the URL.

  • Requires an empty request body and returns a Country object in the response if successful.

  • Needs authorization with the dfatrafficking scope for access.

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