AI-generated Key Takeaways
-
This documentation outlines how to create an account event using an HTTP POST request to a specified URL.
-
The request requires path parameters to identify the target account and a request body containing event details as defined in the
Event
object. -
Successful requests will return a response body containing the newly created
Event
object. -
To utilize this functionality, proper authorization with the
https://www.googleapis.com/auth/adsense
scope is necessary.
Creates an account event.
HTTP request
POST https://adsenseplatform.googleapis.com/v1/{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