calling saveCampaign/createCampaign API

asn_177 15-10-2015

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Nikhil_Bisne 15-10-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