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 |
Get a specific custom channel from the host AdSense account.
See: AdSense Host API Reference for adsensehost.customchannels.get
.
Synopsis
- type CustomChannelsGetResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel))))))
- customChannelsGet :: Text -> Text -> CustomChannelsGet
- data CustomChannelsGet
- ccgCustomChannelId :: Lens' CustomChannelsGet Text
- ccgAdClientId :: Lens' CustomChannelsGet Text
REST Resource
type CustomChannelsGetResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel)))))) Source #
A resource alias for adsensehost.customchannels.get
method which the
CustomChannelsGet
request conforms to.
Creating a Request
Creates a value of CustomChannelsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomChannelsGet Source #
Get a specific custom channel from the host AdSense account.
See: customChannelsGet
smart constructor.
Instances
Request Lenses
ccgCustomChannelId :: Lens' CustomChannelsGet Text Source #
Custom channel to get.
ccgAdClientId :: Lens' CustomChannelsGet Text Source #
Ad client from which to get the custom channel.