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