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 |
Inserts a new advertiser.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.advertisers.insert
.
Synopsis
- type AdvertisersInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Advertiser :> Post '[JSON] Advertiser))))))
- advertisersInsert :: Int64 -> Advertiser -> AdvertisersInsert
- data AdvertisersInsert
- aiiProFileId :: Lens' AdvertisersInsert Int64
- aiiPayload :: Lens' AdvertisersInsert Advertiser
REST Resource
type AdvertisersInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertisers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Advertiser :> Post '[JSON] Advertiser)))))) Source #
A resource alias for dfareporting.advertisers.insert
method which the
AdvertisersInsert
request conforms to.
Creating a Request
Creates a value of AdvertisersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AdvertisersInsert Source #
Inserts a new advertiser.
See: advertisersInsert
smart constructor.
Instances
Request Lenses
aiiProFileId :: Lens' AdvertisersInsert Int64 Source #
User profile ID associated with this request.
aiiPayload :: Lens' AdvertisersInsert Advertiser Source #
Multipart request metadata.