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