Method: subaccounts.patch

  • Updates an existing subaccount using patch semantics and requires a PATCH request to a specific endpoint.

  • The request requires profileId as a path parameter and id as a query parameter, both associated with the targeted subaccount.

  • Both request and response bodies utilize the Subaccount object for data transfer.

  • Authorization necessitates the dfatrafficking OAuth scope for successful execution.

Updates an existing subaccount. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/subaccounts

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. Subaccount ID.

Request body

The request body contains an instance of Subaccount.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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