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 this Ad Exchange account.
See: Ad Exchange Seller API Reference for adexchangeseller.accounts.alerts.list
.
Synopsis
- type AccountsAlertsListResource = "adexchangeseller" :> ("v2.0" :> ("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 = "adexchangeseller" :> ("v2.0" :> ("accounts" :> (Capture "accountId" Text :> ("alerts" :> (QueryParam "locale" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Alerts)))))) Source #
A resource alias for adexchangeseller.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 this Ad Exchange 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 owning the alerts.