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