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 |
Update the supplied ad unit in the specified publisher AdSense account.
See: AdSense Host API Reference for adsensehost.accounts.adunits.update
.
Synopsis
- type AccountsAdUnitsUpdateResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdUnit :> Put '[JSON] AdUnit))))))))
- accountsAdUnitsUpdate :: AdUnit -> Text -> Text -> AccountsAdUnitsUpdate
- data AccountsAdUnitsUpdate
- aauuPayload :: Lens' AccountsAdUnitsUpdate AdUnit
- aauuAdClientId :: Lens' AccountsAdUnitsUpdate Text
- aauuAccountId :: Lens' AccountsAdUnitsUpdate Text
REST Resource
type AccountsAdUnitsUpdateResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdUnit :> Put '[JSON] AdUnit)))))))) Source #
A resource alias for adsensehost.accounts.adunits.update
method which the
AccountsAdUnitsUpdate
request conforms to.
Creating a Request
accountsAdUnitsUpdate Source #
Creates a value of AccountsAdUnitsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAdUnitsUpdate Source #
Update the supplied ad unit in the specified publisher AdSense account.
See: accountsAdUnitsUpdate
smart constructor.
Instances
Request Lenses
aauuPayload :: Lens' AccountsAdUnitsUpdate AdUnit Source #
Multipart request metadata.
aauuAdClientId :: Lens' AccountsAdUnitsUpdate Text Source #
Ad client which contains the ad unit.
aauuAccountId :: Lens' AccountsAdUnitsUpdate Text Source #
Account which contains the ad client.