Method: countries.get

  • This document details how to retrieve a single country by its ID using a GET request.

  • The request requires both a profileId and a dartId as path parameters.

  • The request body must be empty for this operation.

  • A successful response will contain an instance of the Country resource.

  • The request needs the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

Gets one country by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/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
Design a Mobile Site
View Site in Mobile | Classic
Share by: