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 hosted ad clients in the specified hosted account.
See: AdSense Host API Reference for adsensehost.accounts.adclients.list
.
Synopsis
- type AccountsAdClientsListResource = "adsensehost" :> ("v4.1" :> ("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 = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients))))))) Source #
A resource alias for adsensehost.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 hosted ad clients in the specified hosted account.
See: accountsAdClientsList
smart constructor.
Instances
Request Lenses
aaclAccountId :: Lens' AccountsAdClientsList Text Source #
Account for which to list ad clients.
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.