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 |
Updates an existing ad.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.ads.update
.
- type AdsUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad))))))
- adsUpdate :: Int64 -> Ad -> AdsUpdate
- data AdsUpdate
- aProFileId :: Lens' AdsUpdate Int64
- aPayload :: Lens' AdsUpdate Ad
REST Resource
type AdsUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad)))))) Source #
A resource alias for dfareporting.ads.update
method which the
AdsUpdate
request conforms to.
Creating a Request
Creates a value of AdsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Updates an existing ad.
See: adsUpdate
smart constructor.