AI-generated Key Takeaways
-
The "Insert Subaccount" method is used to create a new subaccount.
-
This method utilizes an HTTP POST request to a specified URL containing the user profile ID.
-
The request requires a request body containing a
Subaccountinstance. -
A successful response will contain a newly created
Subaccountinstance in the response body. -
Authorization with the
https://www.googleapis.com/auth/dfatraffickingOAuth scope is required to perform this action.
Inserts a new subaccount.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/subaccounts
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
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 a newly created instance of Subaccount.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking