AI-generated Key Takeaways
-
This document details how to create an account event using an HTTP POST request to the specified URL.
-
The request requires a
parent
path parameter to identify the account for which the event is logged. -
The request body must contain an instance of an
Event
, and a successful response will return a newly createdEvent
instance. -
Authorization is required using the
https://www.googleapis.com/auth/adsense
OAuth scope.
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