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 the specified account.
See: AdSense Management API Reference for adsense.accounts.urlchannels.list
.
Synopsis
- type AccountsURLChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels)))))))))
- accountsURLChannelsList :: Text -> Text -> AccountsURLChannelsList
- data AccountsURLChannelsList
- auclAdClientId :: Lens' AccountsURLChannelsList Text
- auclAccountId :: Lens' AccountsURLChannelsList Text
- auclPageToken :: Lens' AccountsURLChannelsList (Maybe Text)
- auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Int32)
REST Resource
type AccountsURLChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("urlchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] URLChannels))))))))) Source #
A resource alias for adsense.accounts.urlchannels.list
method which the
AccountsURLChannelsList
request conforms to.
Creating a Request
accountsURLChannelsList Source #
Creates a value of AccountsURLChannelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsURLChannelsList Source #
List all URL channels in the specified ad client for the specified account.
See: accountsURLChannelsList
smart constructor.
Instances
Request Lenses
auclAdClientId :: Lens' AccountsURLChannelsList Text Source #
Ad client for which to list URL channels.
auclAccountId :: Lens' AccountsURLChannelsList Text Source #
Account to which the ad client belongs.
auclPageToken :: Lens' AccountsURLChannelsList (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.
auclMaxResults :: Lens' AccountsURLChannelsList (Maybe Int32) Source #
The maximum number of URL channels to include in the response, used for paging.