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.
See: AdSense Management API Reference for adsense.adunits.get
.
Synopsis
- type AdUnitsGetResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit))))))
- adUnitsGet :: Text -> Text -> AdUnitsGet
- data AdUnitsGet
- augAdUnitId :: Lens' AdUnitsGet Text
- augAdClientId :: Lens' AdUnitsGet Text
REST Resource
type AdUnitsGetResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit)))))) Source #
A resource alias for adsense.adunits.get
method which the
AdUnitsGet
request conforms to.
Creating a Request
Creates a value of AdUnitsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdUnitsGet Source #
Gets the specified ad unit in the specified ad client.
See: adUnitsGet
smart constructor.
Instances
Request Lenses
augAdUnitId :: Lens' AdUnitsGet Text Source #
Ad unit to retrieve.
augAdClientId :: Lens' AdUnitsGet Text Source #
Ad client for which to get the ad unit.