Method: accounts.platforms.get
Stay organized with collections
Save and categorize content based on your preferences.
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 2025-01-22 UTC.
[null,null,["Last updated 2025-01-22 UTC."],[[["\u003cp\u003eThis endpoint retrieves a specific platform using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe platform is identified by its name, which is a required path parameter in the URL, following the format \u003ccode\u003eaccounts/{account}/platforms/{platform}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful request will return an instance of the \u003ccode\u003ePlatform\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/adsense\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/adsense.readonly\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["The core content describes how to retrieve a platform using a `GET` HTTP request to the specified URL, following gRPC Transcoding syntax. The URL requires a `name` path parameter in the format `accounts/{account}/platforms/{platform}`. The request body must be empty. A successful request returns a `Platform` instance in the response body. Authorization requires either the `https://www.googleapis.com/auth/adsense` or `https://www.googleapis.com/auth/adsense.readonly` OAuth scope.\n"],null,["# Method: accounts.platforms.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets a platform.\n\n### HTTP request\n\n`GET https://adsenseplatform.googleapis.com/v1alpha/{name=accounts/*/platforms/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the platform to retrieve. Format: accounts/{account}/platforms/{platform} |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Platform](/adsense/platforms/reference/rest/v1alpha/accounts.platforms#Platform).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/adsense`\n- `\n https://www.googleapis.com/auth/adsense.readonly`"]]