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 advertiser. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.advertisers.patch
.
Synopsis
- type AdvertisersPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Advertiser :> Patch '[JSON] Advertiser)))))))
- advertisersPatch :: Int64 -> Advertiser -> Int64 -> AdvertisersPatch
- data AdvertisersPatch
- apProFileId :: Lens' AdvertisersPatch Int64
- apPayload :: Lens' AdvertisersPatch Advertiser
- apId :: Lens' AdvertisersPatch Int64
REST Resource
type AdvertisersPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Advertiser :> Patch '[JSON] Advertiser))))))) Source #
A resource alias for dfareporting.advertisers.patch
method which the
AdvertisersPatch
request conforms to.
Creating a Request
Creates a value of AdvertisersPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdvertisersPatch Source #
Updates an existing advertiser. This method supports patch semantics.
See: advertisersPatch
smart constructor.
Instances
Request Lenses
apProFileId :: Lens' AdvertisersPatch Int64 Source #
User profile ID associated with this request.
apPayload :: Lens' AdvertisersPatch Advertiser Source #
Multipart request metadata.