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 hosted accounts associated with this AdSense account by ad client id.
See: AdSense Host API Reference for adsensehost.accounts.list
.
Synopsis
- type AccountsListResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (QueryParams "filterAdClientId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts))))
- accountsList :: [Text] -> AccountsList
- data AccountsList
- alFilterAdClientId :: Lens' AccountsList [Text]
REST Resource
type AccountsListResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (QueryParams "filterAdClientId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Accounts)))) Source #
A resource alias for adsensehost.accounts.list
method which the
AccountsList
request conforms to.
Creating a Request
Creates a value of AccountsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsList Source #
List hosted accounts associated with this AdSense account by ad client id.
See: accountsList
smart constructor.
Instances
Request Lenses
alFilterAdClientId :: Lens' AccountsList [Text] Source #
Ad clients to list accounts for.