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 accounts available to this AdSense account.
See: AdSense Management API Reference for adsense.accounts.list
.
Synopsis
- type AccountsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts)))))
- accountsList :: AccountsList
- data AccountsList
- alPageToken :: Lens' AccountsList (Maybe Text)
- alMaxResults :: Lens' AccountsList (Maybe Int32)
REST Resource
type AccountsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts))))) Source #
A resource alias for adsense.accounts.list
method which the
AccountsList
request conforms to.
Creating a Request
accountsList :: AccountsList Source #
Creates a value of AccountsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsList Source #
List all accounts available to this AdSense account.
See: accountsList
smart constructor.
Instances
Request Lenses
alPageToken :: Lens' AccountsList (Maybe Text) Source #
A continuation token, used to page through accounts. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
alMaxResults :: Lens' AccountsList (Maybe Int32) Source #
The maximum number of accounts to include in the response, used for paging.