Copyright | (c) 2015 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 advertiser.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.advertisers.update
.
- type AdvertisersUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Advertiser :> Put `[JSON]` Advertiser))))))
- advertisersUpdate :: Int64 -> Advertiser -> AdvertisersUpdate
- data AdvertisersUpdate
- auProFileId :: Lens' AdvertisersUpdate Int64
- auPayload :: Lens' AdvertisersUpdate Advertiser
REST Resource
type AdvertisersUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Advertiser :> Put `[JSON]` Advertiser)))))) Source
A resource alias for dfareporting.advertisers.update
method which the
AdvertisersUpdate
request conforms to.
Creating a Request
Creates a value of AdvertisersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdvertisersUpdate Source
Updates an existing advertiser.
See: advertisersUpdate
smart constructor.
Request Lenses
auProFileId :: Lens' AdvertisersUpdate Int64 Source
User profile ID associated with this request.
auPayload :: Lens' AdvertisersUpdate Advertiser Source
Multipart request metadata.