Method: subaccounts.patch

  • The PATCH method updates an existing subaccount and supports patch semantics.

  • The request URL follows gRPC Transcoding syntax and includes a profileId path parameter.

  • A required id query parameter is used to identify the subaccount.

  • The request and response bodies both contain an instance of a Subaccount.

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

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