Method: accounts.patch

  • Updates an existing account using patch semantics and requires an HTTP PATCH request.

  • The request must include the profile ID in the path and the account ID as a query parameter.

  • The request and response bodies both utilize the Account resource, allowing for partial updates.

  • Authorization requires the dfatrafficking scope for accessing and modifying account data.

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