Method: platforms.accounts.create

Creates a sub-account.

HTTP request

POST https://adsenseplatform.googleapis.com/v1alpha/{parent=platforms/*}/accounts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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