Method: platforms.accounts.events.create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["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."]]],["This content outlines how to create an account event via an API. A `POST` HTTP request is sent to a specific URL that includes a `parent` path parameter, representing the target account. The request body, structured as an `Event` instance, is sent. Upon success, the API returns a newly created `Event` instance in the response body. This action requires the `https://www.googleapis.com/auth/adsense` OAuth scope for authorization. There is a \"Try it!\" option for the user.\n"]]