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 |
Get information about the selected associated AdSense account.
See: AdSense Host API Reference for adsensehost.accounts.get
.
Synopsis
- type AccountsGetResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Account))))
- accountsGet :: Text -> AccountsGet
- data AccountsGet
- agAccountId :: Lens' AccountsGet Text
REST Resource
type AccountsGetResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Account)))) Source #
A resource alias for adsensehost.accounts.get
method which the
AccountsGet
request conforms to.
Creating a Request
Creates a value of AccountsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsGet Source #
Get information about the selected associated AdSense account.
See: accountsGet
smart constructor.
Instances
Request Lenses
agAccountId :: Lens' AccountsGet Text Source #
Account to get information about.