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