gogol-adsense-0.0.1: Google AdSense Management SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdSense.AdUnits.GetAdCode

Contents

Description

Get ad code for the specified ad unit.

See: AdSense Management API Reference for adsense.adunits.getAdCode.

Synopsis

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

adUnitsGetAdCode Source

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:

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.