Skip to main content
June 28, 2013
Question

RequestCampaign

  • June 28, 2013
  • 3 replies
  • 877 views
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
 
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

June 28, 2013
Try this

ParamsRequestCampaign params = MktowsUtil.objectFactory.createParamsRequestCampaign();
params.setSource(ReqCampSourceType.MKTOWS);
params.setProgramName(programName);
params.setCampaignName(campaignName);
 
July 2, 2013
Thanks for the reply...even setting the program name and campaign name separately throws the 20114 Bad Parameter error.
July 2, 2013
Please log a support ticket - someone from our support team will help you