Method: userRoles.insert

  • This document outlines how to insert a new user role using the DoubleClick Advertisers REST API.

  • The process involves an HTTP POST request to a specific URL with a profileId path parameter.

  • The request body requires an instance of UserRole, and a successful response body will contain the newly created UserRole instance.

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

Inserts a new user role.

HTTP request

POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/userRoles

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 UserRole.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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