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 custom channels in this AdSense account.
See: AdSense Host API Reference for adsensehost.customchannels.list
.
Synopsis
- type CustomChannelsListResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))
- customChannelsList :: Text -> CustomChannelsList
- data CustomChannelsList
- cclAdClientId :: Lens' CustomChannelsList Text
- cclPageToken :: Lens' CustomChannelsList (Maybe Text)
- cclMaxResults :: Lens' CustomChannelsList (Maybe Word32)
REST Resource
type CustomChannelsListResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels))))))) Source #
A resource alias for adsensehost.customchannels.list
method which the
CustomChannelsList
request conforms to.
Creating a Request
Creates a value of CustomChannelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomChannelsList Source #
List all host custom channels in this AdSense account.
See: customChannelsList
smart constructor.
Instances
Request Lenses
cclAdClientId :: Lens' CustomChannelsList Text Source #
Ad client for which to list custom channels.
cclPageToken :: Lens' CustomChannelsList (Maybe Text) Source #
A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response.
cclMaxResults :: Lens' CustomChannelsList (Maybe Word32) Source #
The maximum number of custom channels to include in the response, used for paging.