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