AI-generated Key Takeaways
-
Creates a sub-account within a specified platform using an HTTP POST request.
-
Requires providing the parent platform's ID in the URL and an Account object in the request body.
-
Returns the newly created Account object in the response if successful.
-
Needs authorization with the
https://www.googleapis.com/auth/adsense
scope.
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