Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

calling saveCampaign/createCampaign API

asn_177
Level 4
Level 4

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.

 

1 Accepted Solution
Nikhil_Bisne
Correct answer by
Level 8
Level 8

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

View solution in original post

3 Replies
Nikhil_Bisne
Correct answer by
Level 8
Level 8

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

View solution in original post

asn_177
Level 4
Level 4

Could create the campaign now.

had to create offer first through createOffer api.

Thanks a lot for your help Nikhil.

Nikhil_Bisne
Level 8
Level 8

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

 

Regards

Nikhil