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 URL channels in the specified ad client for this AdSense account.
See: AdSense Management API Reference for adsense.urlchannels.list
.
Synopsis
- type URLChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels)))))))
- urlChannelsList :: Text -> URLChannelsList
- data URLChannelsList
- uclAdClientId :: Lens' URLChannelsList Text
- uclPageToken :: Lens' URLChannelsList (Maybe Text)
- uclMaxResults :: Lens' URLChannelsList (Maybe Int32)
REST Resource
type URLChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels))))))) Source #
A resource alias for adsense.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 URL channels in the specified ad client for this AdSense account.
See: urlChannelsList
smart constructor.
Instances
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 Int32) Source #
The maximum number of URL channels to include in the response, used for paging.