Method: sizes.insert

  • The page details how to insert a new size using a POST request to the specified URL.

  • The request requires a profileId as a path parameter.

  • The request body should contain an instance of Size.

  • A successful response will contain a newly created instance of Size.

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

Inserts a new size.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Request body

The request body contains an instance of Size.

Response body

If successful, the response body contains a newly created instance of Size.

Authorization scopes

Requires the following OAuth scope:

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