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