Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
List all saved reports in the specified AdSense account.
See: AdSense Management API Reference for adsense.accounts.reports.saved.list
.
Synopsis
- type AccountsReportsSavedListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> ("saved" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedReports))))))))
- accountsReportsSavedList :: Text -> AccountsReportsSavedList
- data AccountsReportsSavedList
- arslAccountId :: Lens' AccountsReportsSavedList Text
- arslPageToken :: Lens' AccountsReportsSavedList (Maybe Text)
- arslMaxResults :: Lens' AccountsReportsSavedList (Maybe Int32)
REST Resource
type AccountsReportsSavedListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("reports" :> ("saved" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedReports)))))))) Source #
A resource alias for adsense.accounts.reports.saved.list
method which the
AccountsReportsSavedList
request conforms to.
Creating a Request
accountsReportsSavedList Source #
Creates a value of AccountsReportsSavedList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsReportsSavedList Source #
List all saved reports in the specified AdSense account.
See: accountsReportsSavedList
smart constructor.
Instances
Request Lenses
arslAccountId :: Lens' AccountsReportsSavedList Text Source #
Account to which the saved reports belong.
arslPageToken :: Lens' AccountsReportsSavedList (Maybe Text) Source #
A continuation token, used to page through saved reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
arslMaxResults :: Lens' AccountsReportsSavedList (Maybe Int32) Source #
The maximum number of saved reports to include in the response, used for paging.