calling saveCampaign/createCampaign API | Community
Skip to main content
New Participant
October 16, 2015
Solved

calling saveCampaign/createCampaign API

  • October 16, 2015
  • 3 replies
  • 1245 views

I am trying to access saveCampaign API for testing purpose.

I followed the instructions provided, formed URL to create a plain campaign with URL  :


 https://testandtarget.omniture.com/api?client=user&email=user1@acme.com//testandtarget.omniture.com/api?client=user&email=user1@acme.com
&password=pword&version=1&operation=saveCampaign&thirdPartyId=extID501&version=1&campaign=<campaign><id>NNNN</id><name>Campaign Name</name></campaign>

ofcourse, by editing proper email,clientID and password.

I get below mentioned error message :

 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<error>
<message>A generic Exception has occurred.</message>
<code>500</code>
</error>

 

However the operation listCampaign works fine and returns a list of campaigns.

It would be a great help if someone could help.

 

thanks in advance.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Nikhil_Bisne

Hi,

 

I'd request you to refer to the Demo Campaign XML example as mentioned on https://marketing.adobe.com/developer/documentation/test-target/r-campaign-create page. Can you try creating a new campaign with at least one offer as mentioned in the example and let us know the results?

 

Thanks

Nikhil

3 replies

Nikhil_BisneAccepted solution
New Participant
October 16, 2015

Hi,

 

I'd request you to refer to the Demo Campaign XML example as mentioned on https://marketing.adobe.com/developer/documentation/test-target/r-campaign-create page. Can you try creating a new campaign with at least one offer as mentioned in the example and let us know the results?

 

Thanks

Nikhil

asn11Author
New Participant
October 16, 2015

Could create the campaign now.

had to create offer first through createOffer api.

Thanks a lot for your help Nikhil.

New Participant
October 16, 2015

Great to hear this was resolved and thanks for letting us know.

 

Regards

Nikhil