Re: RequestCampaign

Anonymous
Not applicable

RequestCampaign

I have a java program that issues a RequestCampaign call successfully using the campaignId in the paramsRequestCampaign object.  I wanted to use campaignName instead of campaignId in the paramsRequestCampaign, so I modifed the program to use campaignName by replacing

params.setCampaignId(MktowsUtil.objectFactory
.createParamsRequestCampaignCampaignId(campaignId));

with:

params.setCampaignName(MktowsUtil.objectFactory
.createParamsRequestCampaignCampaignName(campaignName));

However, what I am seeing is a "20114 - Bad parameter".  I'm wondering what needs to be provided?  The campaignNames I have tried are "program.campaign_name" as well as just "campaign_name".  Both options are returning the Bad parameter error.

Any advice is appreciated...thanks
 
 
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: RequestCampaign

Try this

ParamsRequestCampaign params = MktowsUtil.objectFactory.createParamsRequestCampaign();
params.setSource(ReqCampSourceType.MKTOWS);
params.setProgramName(programName);
params.setCampaignName(campaignName);
 
Anonymous
Not applicable

Re: RequestCampaign

Thanks for the reply...even setting the program name and campaign name separately throws the 20114 Bad Parameter error.
Anonymous
Not applicable

Re: RequestCampaign

Please log a support ticket - someone from our support team will help you