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 |
Dismiss (delete) the specified alert from the specified publisher AdSense account.
See: AdSense Management API Reference for adsense.accounts.alerts.delete
.
Synopsis
- type AccountsAlertsDeleteResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- accountsAlertsDelete :: Text -> Text -> AccountsAlertsDelete
- data AccountsAlertsDelete
- aadAlertId :: Lens' AccountsAlertsDelete Text
- aadAccountId :: Lens' AccountsAlertsDelete Text
REST Resource
type AccountsAlertsDeleteResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for adsense.accounts.alerts.delete
method which the
AccountsAlertsDelete
request conforms to.
Creating a Request
Creates a value of AccountsAlertsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAlertsDelete Source #
Dismiss (delete) the specified alert from the specified publisher AdSense account.
See: accountsAlertsDelete
smart constructor.
Instances
Request Lenses
aadAlertId :: Lens' AccountsAlertsDelete Text Source #
Alert to delete.
aadAccountId :: Lens' AccountsAlertsDelete Text Source #
Account which contains the ad unit.