| 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 |
Network.Google.Resource.AdExchangeSeller.Accounts.List
Description
List all accounts available to this Ad Exchange account.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.list.
Synopsis
- type AccountsListResource = "adexchangeseller" :> ("v2.0" :> ("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 = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts))))) Source #
A resource alias for adexchangeseller.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 Ad Exchange 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.