Method: accounts.patch

  • The webpage describes how to update an existing account using a PATCH request.

  • The request requires specifying the user profile ID in the path parameters and the account ID in the query parameters.

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

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

Updates an existing account. This method supports patch semantics.

HTTP request

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

Query parameters

Parameters
id

string (int64 format)

Required. Account ID.

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