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.adunits.customchannels.list
.
Synopsis
- type AdUnitsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels)))))))))
- adUnitsCustomChannelsList :: Text -> Text -> AdUnitsCustomChannelsList
- data AdUnitsCustomChannelsList
- aucclAdUnitId :: Lens' AdUnitsCustomChannelsList Text
- aucclAdClientId :: Lens' AdUnitsCustomChannelsList Text
- aucclPageToken :: Lens' AdUnitsCustomChannelsList (Maybe Text)
- aucclMaxResults :: Lens' AdUnitsCustomChannelsList (Maybe Int32)
REST Resource
type AdUnitsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("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.adunits.customchannels.list
method which the
AdUnitsCustomChannelsList
request conforms to.
Creating a Request
adUnitsCustomChannelsList Source #
Creates a value of AdUnitsCustomChannelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdUnitsCustomChannelsList Source #
List all custom channels which the specified ad unit belongs to.
See: adUnitsCustomChannelsList
smart constructor.
Instances
Request Lenses
aucclAdUnitId :: Lens' AdUnitsCustomChannelsList Text Source #
Ad unit for which to list custom channels.
aucclAdClientId :: Lens' AdUnitsCustomChannelsList Text Source #
Ad client which contains the ad unit.
aucclPageToken :: Lens' AdUnitsCustomChannelsList (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.
aucclMaxResults :: Lens' AdUnitsCustomChannelsList (Maybe Int32) Source #
The maximum number of custom channels to include in the response, used for paging.