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 |
Generates tags for a placement.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placements.generatetags
.
- type PlacementsGeneratetagsResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placements" :> ("generatetags" :> (QueryParams "tagFormats" PlacementsGeneratetagsTagFormats :> (QueryParam "campaignId" (Textual Int64) :> (QueryParams "placementIds" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post `[JSON]` PlacementsGenerateTagsResponse)))))))))
- placementsGeneratetags :: Int64 -> PlacementsGeneratetags
- data PlacementsGeneratetags
- pgsTagFormats :: Lens' PlacementsGeneratetags [PlacementsGeneratetagsTagFormats]
- pgsCampaignId :: Lens' PlacementsGeneratetags (Maybe Int64)
- pgsProFileId :: Lens' PlacementsGeneratetags Int64
- pgsPlacementIds :: Lens' PlacementsGeneratetags [Int64]
REST Resource
type PlacementsGeneratetagsResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placements" :> ("generatetags" :> (QueryParams "tagFormats" PlacementsGeneratetagsTagFormats :> (QueryParam "campaignId" (Textual Int64) :> (QueryParams "placementIds" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post `[JSON]` PlacementsGenerateTagsResponse))))))))) Source
A resource alias for dfareporting.placements.generatetags
method which the
PlacementsGeneratetags
request conforms to.
Creating a Request
Creates a value of PlacementsGeneratetags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlacementsGeneratetags Source
Generates tags for a placement.
See: placementsGeneratetags
smart constructor.
Request Lenses
pgsTagFormats :: Lens' PlacementsGeneratetags [PlacementsGeneratetagsTagFormats] Source
Tag formats to generate for these placements.
pgsCampaignId :: Lens' PlacementsGeneratetags (Maybe Int64) Source
Generate placements belonging to this campaign. This is a required field.
pgsProFileId :: Lens' PlacementsGeneratetags Int64 Source
User profile ID associated with this request.
pgsPlacementIds :: Lens' PlacementsGeneratetags [Int64] Source
Generate tags for these placements.