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 the specified host ad unit in this AdSense account.
See: AdSense Host API Reference for adsensehost.accounts.adunits.get
.
Synopsis
- type AccountsAdUnitsGetResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit))))))))
- accountsAdUnitsGet :: Text -> Text -> Text -> AccountsAdUnitsGet
- data AccountsAdUnitsGet
- aaugAdUnitId :: Lens' AccountsAdUnitsGet Text
- aaugAdClientId :: Lens' AccountsAdUnitsGet Text
- aaugAccountId :: Lens' AccountsAdUnitsGet Text
REST Resource
type AccountsAdUnitsGetResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit)))))))) Source #
A resource alias for adsensehost.accounts.adunits.get
method which the
AccountsAdUnitsGet
request conforms to.
Creating a Request
Creates a value of AccountsAdUnitsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAdUnitsGet Source #
Get the specified host ad unit in this AdSense account.
See: accountsAdUnitsGet
smart constructor.
Instances
Request Lenses
aaugAdUnitId :: Lens' AccountsAdUnitsGet Text Source #
Ad unit to get.
aaugAdClientId :: Lens' AccountsAdUnitsGet Text Source #
Ad client for which to get ad unit.
aaugAccountId :: Lens' AccountsAdUnitsGet Text Source #
Account which contains the ad unit.