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.Accounts.AdUnits.GetAdCode

Contents

Description

Get ad code for the specified ad unit.

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

Synopsis

REST Resource

type AccountsAdUnitsGetAdCodeResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get `[JSON]` AdCode))))))))) Source

A resource alias for adsense.accounts.adunits.getAdCode method which the AccountsAdUnitsGetAdCode request conforms to.

Creating a Request

accountsAdUnitsGetAdCode Source

Creates a value of AccountsAdUnitsGetAdCode with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text Source

Ad client with contains the ad unit.

aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text Source

Account which contains the ad client.