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.accounts.adunits.getAdCode
.
Synopsis
- type AccountsAdUnitsGetAdCodeResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode)))))))))
- accountsAdUnitsGetAdCode :: Text -> Text -> Text -> AccountsAdUnitsGetAdCode
- data AccountsAdUnitsGetAdCode
- aaugacAdUnitId :: Lens' AccountsAdUnitsGetAdCode Text
- aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text
- aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text
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:
data AccountsAdUnitsGetAdCode Source #
Get ad code for the specified ad unit.
See: accountsAdUnitsGetAdCode
smart constructor.
Instances
Request Lenses
aaugacAdUnitId :: Lens' AccountsAdUnitsGetAdCode Text Source #
Ad unit to get the code for.
aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text Source #
Ad client with contains the ad unit.
aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text Source #
Account which contains the ad client.