AI-generated Key Takeaways
-
This document details how to create an account event using a POST request to the specified Google Adsense Platform API endpoint.
-
The request requires a
parentpath parameter specifying the account to log events about. -
The request body should contain an instance of an
Eventobject, and a successful response will return a newly createdEvent. -
The creation of an account event requires the
https://www.googleapis.com/auth/adsenseOAuth scope for authorization.
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 |
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