Method: subaccounts.patch

  • This method updates an existing subaccount using patch semantics.

  • The request uses a PATCH HTTP method and includes profileId as a path parameter.

  • The request requires an id query parameter and a Subaccount instance in the request body.

  • A successful response returns an instance of Subaccount in the response body.

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

Updates an existing subaccount. This method supports patch semantics.

HTTP request

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