Method: subaccounts.update

  • This document outlines how to update an existing subaccount using an HTTP PUT request.

  • The request requires a profileId path parameter, which is a string representing the user profile ID.

  • The request body contains an instance of a Subaccount object.

  • A successful response also contains an instance of a Subaccount object.

  • The update operation requires authorization using the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Updates an existing subaccount.

HTTP request

PUT 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.

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