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 creative field value.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.creativeFieldValues.update
.
- type CreativeFieldValuesUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeFields" :> (Capture "creativeFieldId" (Textual Int64) :> ("creativeFieldValues" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CreativeFieldValue :> Put `[JSON]` CreativeFieldValue))))))))
- creativeFieldValuesUpdate :: Int64 -> Int64 -> CreativeFieldValue -> CreativeFieldValuesUpdate
- data CreativeFieldValuesUpdate
- cfvuCreativeFieldId :: Lens' CreativeFieldValuesUpdate Int64
- cfvuProFileId :: Lens' CreativeFieldValuesUpdate Int64
- cfvuPayload :: Lens' CreativeFieldValuesUpdate CreativeFieldValue
REST Resource
type CreativeFieldValuesUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creativeFields" :> (Capture "creativeFieldId" (Textual Int64) :> ("creativeFieldValues" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` CreativeFieldValue :> Put `[JSON]` CreativeFieldValue)))))))) Source
A resource alias for dfareporting.creativeFieldValues.update
method which the
CreativeFieldValuesUpdate
request conforms to.
Creating a Request
creativeFieldValuesUpdate Source
Creates a value of CreativeFieldValuesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreativeFieldValuesUpdate Source
Updates an existing creative field value.
See: creativeFieldValuesUpdate
smart constructor.
Request Lenses
cfvuCreativeFieldId :: Lens' CreativeFieldValuesUpdate Int64 Source
Creative field ID for this creative field value.
cfvuProFileId :: Lens' CreativeFieldValuesUpdate Int64 Source
User profile ID associated with this request.
cfvuPayload :: Lens' CreativeFieldValuesUpdate CreativeFieldValue Source
Multipart request metadata.