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