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 host ad clients in this AdSense account.
See: AdSense Host API Reference for adsensehost.adclients.list
.
Synopsis
- type AdClientsListResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients)))))
- adClientsList :: AdClientsList
- data AdClientsList
- aclPageToken :: Lens' AdClientsList (Maybe Text)
- aclMaxResults :: Lens' AdClientsList (Maybe Word32)
REST Resource
type AdClientsListResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AdClients))))) Source #
A resource alias for adsensehost.adclients.list
method which the
AdClientsList
request conforms to.
Creating a Request
adClientsList :: AdClientsList Source #
Creates a value of AdClientsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdClientsList Source #
List all host ad clients in this AdSense account.
See: adClientsList
smart constructor.
Instances
Request Lenses
aclPageToken :: Lens' AdClientsList (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.
aclMaxResults :: Lens' AdClientsList (Maybe Word32) Source #
The maximum number of ad clients to include in the response, used for paging.