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