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 ad clients in this Ad Exchange account.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.adclients.list
.
Synopsis
- type AccountsAdClientsListResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients)))))))
- accountsAdClientsList :: Text -> AccountsAdClientsList
- data AccountsAdClientsList
- aaclAccountId :: Lens' AccountsAdClientsList Text
- aaclPageToken :: Lens' AccountsAdClientsList (Maybe Text)
- aaclMaxResults :: Lens' AccountsAdClientsList (Maybe Word32)
REST Resource
type AccountsAdClientsListResource = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients))))))) Source #
A resource alias for adexchangeseller.accounts.adclients.list
method which the
AccountsAdClientsList
request conforms to.
Creating a Request
accountsAdClientsList Source #
Creates a value of AccountsAdClientsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAdClientsList Source #
List all ad clients in this Ad Exchange account.
See: accountsAdClientsList
smart constructor.
Instances
Request Lenses
aaclAccountId :: Lens' AccountsAdClientsList Text Source #
Account to which the ad client belongs.
aaclPageToken :: Lens' AccountsAdClientsList (Maybe Text) Source #
A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
aaclMaxResults :: Lens' AccountsAdClientsList (Maybe Word32) Source #
The maximum number of ad clients to include in the response, used for paging.