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