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 |
List the alerts for the specified AdSense account.
See: AdSense Management API Reference for adsense.accounts.alerts.list
.
Synopsis
- type AccountsAlertsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts))))))
- accountsAlertsList :: Text -> AccountsAlertsList
- data AccountsAlertsList
- aalLocale :: Lens' AccountsAlertsList (Maybe Text)
- aalAccountId :: Lens' AccountsAlertsList Text
REST Resource
type AccountsAlertsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts)))))) Source #
A resource alias for adsense.accounts.alerts.list
method which the
AccountsAlertsList
request conforms to.
Creating a Request
Creates a value of AccountsAlertsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAlertsList Source #
List the alerts for the specified AdSense account.
See: accountsAlertsList
smart constructor.
Instances
Request Lenses
aalLocale :: Lens' AccountsAlertsList (Maybe Text) Source #
The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.
aalAccountId :: Lens' AccountsAlertsList Text Source #
Account for which to retrieve the alerts.