Method: accounts.reports.getSaved
Stay organized with collections
Save and categorize content based on your preferences.
Gets the saved report from the given resource name.
HTTP request
GET https://adsense.googleapis.com/v2/{name=accounts/*/reports/*}/saved
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the saved report to retrieve. Format: accounts/{account}/reports/{report}
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SavedReport
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/adsense
https://www.googleapis.com/auth/adsense.readonly
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."],[[["\u003cp\u003eRetrieves a saved report from a specified resource name using an HTTP GET request.\u003c/p\u003e\n"],["\u003cp\u003eRequires a path parameter \u003ccode\u003ename\u003c/code\u003e to identify the saved report within the given format.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is necessary, and the response returns a \u003ccode\u003eSavedReport\u003c/code\u003e object if successful.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires either \u003ccode\u003eadsense\u003c/code\u003e or \u003ccode\u003eadsense.readonly\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],["This document details retrieving a saved report via an HTTP GET request. The request URL, using gRPC Transcoding, includes a required `name` parameter specifying the report's location in the format: `accounts/{account}/reports/{report}`. The request body must be empty. A successful response returns a `SavedReport` instance. Access requires authorization with either the `https://www.googleapis.com/auth/adsense` or `https://www.googleapis.com/auth/adsense.readonly` OAuth scope.\n"],null,["# Method: accounts.reports.getSaved\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 the saved report from the given resource name.\n\n### HTTP request\n\n`GET https://adsense.googleapis.com/v2/{name=accounts/*/reports/*}/saved`\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 saved report to retrieve. Format: accounts/{account}/reports/{report} |\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 [SavedReport](/adsense/management/reference/rest/v2/SavedReport).\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`"]]