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