AI-generated Key Takeaways
-
This page details how to create a sub-account using a POST HTTP request.
-
The request requires a parent parameter specifying the platform for the account creation.
-
The request body should contain an instance of Account, and the response body will return a newly created Account instance if successful.
-
Creating a sub-account requires the
https://www.googleapis.com/auth/adsense
OAuth scope for authorization.
Creates a sub-account.
HTTP request
POST https://adsenseplatform.googleapis.com/v1/{parent=platforms/*}/accounts
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Platform to create an account for. Format: platforms/{platform} |
Request body
The request body contains an instance of Account
.
Response body
If successful, the response body contains a newly created instance of Account
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsense