Method: accounts.update

  • This page details how to update an existing account using an HTTP PUT request.

  • The URL for updating an account uses gRPC Transcoding syntax and includes a path parameter for the user profile ID.

  • Both the request and response bodies contain an instance of the Account resource.

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

Updates an existing account.

HTTP request

PUT https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/accounts

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

Response body

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

Authorization scopes

Requires the following OAuth scope:

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