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 |
Update a custom channel in the host AdSense account.
See: AdSense Host API Reference for adsensehost.customchannels.update
.
Synopsis
- type CustomChannelsUpdateResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomChannel :> Put '[JSON] CustomChannel))))))
- customChannelsUpdate :: CustomChannel -> Text -> CustomChannelsUpdate
- data CustomChannelsUpdate
- ccuPayload :: Lens' CustomChannelsUpdate CustomChannel
- ccuAdClientId :: Lens' CustomChannelsUpdate Text
REST Resource
type CustomChannelsUpdateResource = "adsensehost" :> ("v4.1" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomChannel :> Put '[JSON] CustomChannel)))))) Source #
A resource alias for adsensehost.customchannels.update
method which the
CustomChannelsUpdate
request conforms to.
Creating a Request
Creates a value of CustomChannelsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CustomChannelsUpdate Source #
Update a custom channel in the host AdSense account.
See: customChannelsUpdate
smart constructor.
Instances
Request Lenses
ccuPayload :: Lens' CustomChannelsUpdate CustomChannel Source #
Multipart request metadata.
ccuAdClientId :: Lens' CustomChannelsUpdate Text Source #
Ad client in which the custom channel will be updated.