AI-generated Key Takeaways
-
This document provides details on how to retrieve a list of countries using an HTTP GET request.
-
The request URL includes a
profileIdpath parameter, which is a user profile ID associated with the request. -
The request body must be empty.
-
The response body contains a JSON object with
kindandcountriesfields, wherecountriesis a collection of Country objects. -
The request requires the
https://www.googleapis.com/auth/dfatraffickingauthorization scope.
Retrieves a list of countries.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/countries
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId
|
User profile ID associated with this request. |
Request body
The request body must be empty.
Response body
Country countries.list Response
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind"
:
string
,
"countries"
:
[
{
object (
|
| Fields | |
|---|---|
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
countries[]
|
Country collection. |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/dfatrafficking

