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 |
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.campaignCreativeAssociations.insert
.
Synopsis
- type CampaignCreativeAssociationsInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("campaignCreativeAssociations" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CampaignCreativeAssociation :> Post '[JSON] CampaignCreativeAssociation))))))))
- campaignCreativeAssociationsInsert :: Int64 -> Int64 -> CampaignCreativeAssociation -> CampaignCreativeAssociationsInsert
- data CampaignCreativeAssociationsInsert
- ccaiCampaignId :: Lens' CampaignCreativeAssociationsInsert Int64
- ccaiProFileId :: Lens' CampaignCreativeAssociationsInsert Int64
- ccaiPayload :: Lens' CampaignCreativeAssociationsInsert CampaignCreativeAssociation
REST Resource
type CampaignCreativeAssociationsInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("campaignCreativeAssociations" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CampaignCreativeAssociation :> Post '[JSON] CampaignCreativeAssociation)))))))) Source #
A resource alias for dfareporting.campaignCreativeAssociations.insert
method which the
CampaignCreativeAssociationsInsert
request conforms to.
Creating a Request
campaignCreativeAssociationsInsert Source #
Creates a value of CampaignCreativeAssociationsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CampaignCreativeAssociationsInsert Source #
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
See: campaignCreativeAssociationsInsert
smart constructor.
Instances
Request Lenses
ccaiCampaignId :: Lens' CampaignCreativeAssociationsInsert Int64 Source #
Campaign ID in this association.
ccaiProFileId :: Lens' CampaignCreativeAssociationsInsert Int64 Source #
User profile ID associated with this request.
ccaiPayload :: Lens' CampaignCreativeAssociationsInsert CampaignCreativeAssociation Source #
Multipart request metadata.