Method: platforms.accounts.events.create

  • Creates an account event using an HTTP POST request to the specified URL.

  • Requires path parameters to identify the target platform and account.

  • The request body must contain an Event object, and a successful response returns the created Event.

  • Authorization requires the https://www.googleapis.com/auth/adsense OAuth scope.

Creates an account event.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Account to log events about. Format: platforms/{platform}/accounts/{account}

Request body

The request body contains an instance of Event.

Response body

If successful, the response body contains a newly created instance of Event.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsense