Copyright | (c) 2015 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 AdSense account.
See: AdSense Management API Reference for adsense.accounts.get
.
- type AccountsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "tree" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` Account)))))
- accountsGet :: Text -> AccountsGet
- data AccountsGet
- agTree :: Lens' AccountsGet (Maybe Bool)
- agAccountId :: Lens' AccountsGet Text
REST Resource
type AccountsGetResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "tree" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` Account))))) Source
A resource alias for adsense.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 AdSense account.
See: accountsGet
smart constructor.
Request Lenses
agAccountId :: Lens' AccountsGet Text Source
Account to get information about.