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 |
Gets the specified ad unit in the specified ad client for the specified account.
See: AdSense Management API Reference for adsense.accounts.adunits.get
.
Synopsis
- type AccountsAdUnitsGetResource = "adsense" :> ("v1.4" :> ("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 = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit)))))))) Source #
A resource alias for adsense.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 #
Gets the specified ad unit in the specified ad client for the specified account.
See: accountsAdUnitsGet
smart constructor.
Instances
Request Lenses
aaugAdUnitId :: Lens' AccountsAdUnitsGet Text Source #
Ad unit to retrieve.
aaugAdClientId :: Lens' AccountsAdUnitsGet Text Source #
Ad client for which to get the ad unit.
aaugAccountId :: Lens' AccountsAdUnitsGet Text Source #
Account to which the ad client belongs.