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