AI-generated Key Takeaways
-
This page details how to retrieve a list of metros using a GET request to a specific URL.
-
The request requires a
profileIdpath parameter to specify the user profile associated with the request. -
The request body must be empty for this operation.
-
The successful response body contains a JSON object with
kindandmetrosfields, wheremetrosis an array of Metro objects. -
Authorization requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Retrieves a list of metros.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/metros
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
Metro metros.list Response
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"metros": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
metros[] |
Metro collection. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking