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