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 the specified custom channel from the specified ad client.
See: AdSense Management API Reference for adsense.customchannels.get
.
Synopsis
- type CustomChannelsGetResource = "adsense" :> ("v1.4" :> ("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 = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel)))))) Source #
A resource alias for adsense.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 the specified custom channel from the specified ad client.
See: customChannelsGet
smart constructor.
Instances
Request Lenses
ccgCustomChannelId :: Lens' CustomChannelsGet Text Source #
Custom channel to retrieve.
ccgAdClientId :: Lens' CustomChannelsGet Text Source #
Ad client which contains the custom channel.