Method: platforms.accounts.create

  • This document outlines how to create a sub-account using a POST HTTP request.

  • The request requires a parent path parameter specifying the platform.

  • The request body should contain an instance of an Account, and the response body will contain the newly created Account instance if successful.

  • The operation requires the https://www.googleapis.com/auth/adsense authorization scope.

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