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 the specified ad unit from the specified publisher AdSense account.
See: AdSense Host API Reference for adsensehost.accounts.adunits.delete
.
Synopsis
- type AccountsAdUnitsDeleteResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] AdUnit))))))))
- accountsAdUnitsDelete :: Text -> Text -> Text -> AccountsAdUnitsDelete
- data AccountsAdUnitsDelete
- aaudAdUnitId :: Lens' AccountsAdUnitsDelete Text
- aaudAdClientId :: Lens' AccountsAdUnitsDelete Text
- aaudAccountId :: Lens' AccountsAdUnitsDelete Text
REST Resource
type AccountsAdUnitsDeleteResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] AdUnit)))))))) Source #
A resource alias for adsensehost.accounts.adunits.delete
method which the
AccountsAdUnitsDelete
request conforms to.
Creating a Request
accountsAdUnitsDelete Source #
Creates a value of AccountsAdUnitsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAdUnitsDelete Source #
Delete the specified ad unit from the specified publisher AdSense account.
See: accountsAdUnitsDelete
smart constructor.
Instances
Request Lenses
aaudAdUnitId :: Lens' AccountsAdUnitsDelete Text Source #
Ad unit to delete.
aaudAdClientId :: Lens' AccountsAdUnitsDelete Text Source #
Ad client for which to get ad unit.
aaudAccountId :: Lens' AccountsAdUnitsDelete Text Source #
Account which contains the ad unit.