Method: sizes.insert

  • The HTTP request for inserting a new size uses a POST method to a specific Google API endpoint.

  • The request requires a profileId path parameter, which is a string in int64 format representing the user profile ID.

  • The request body should contain an instance of the Size object.

  • A successful response will include a newly created instance of the Size object in the response body.

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

Inserts a new size.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v4/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