Method: sizes.get

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

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

  • The request body must be empty, and a successful response will contain a Size instance.

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

Gets one size by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/sizes/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

id

string (int64 format)

Size ID.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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