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