Method: accounts.patch

  • The PATCH method at https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/accounts updates an existing account using patch semantics.

  • This method requires a profileId as a path parameter and a required id as a query parameter, both in int64 format.

  • The request body contains an instance of Account, and a successful response body also contains an instance of Account.

  • Authorization requires the OAuth scope https://www.googleapis.com/auth/dfatrafficking.

Updates an existing account. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v5/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