Showing the offer from a campaign on HTML page using mbox

asn_177

15-10-2015

I have created a simple campaign via saveCampaignAPI.

I have attached the XML through which I have created the campaign.

Now I would like to show this campaign's data on an a plain HTML page(like offers inside this campaign).

I know it can be done through mboxes , however I'm struggling with it, Could anyone provide any inputs about the same?

A sample reference mbox that fetches data from target server would help a lot:)

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

shekhardhiman

Employee

04-11-2015

Hi Surendra,

Apologies for the late reply.

What is the exact error you are getting? And how you are trying to create the mboxes? Have you hosted the mbox.js file on your site?

Could you please add ?mboxDebug=1 in the page URL and send me the screenshot?

Thanks!

Answers (6)

Answers (6)

Nikhil_Bisne

15-10-2015

Hi,

 

How are you creating the mbox? Are you following the steps as mentioned on this link. Also have a look at this link. It'll help you understand a couple of important concepts.

 

Thanks

Nikhil

asn_177

15-10-2015

Nikhil Bisne wrote...

Hi,

 

Check this link it should help answer your question of getting offer details. Also the answer to your second question : "One more question , the name that I give in createMbox('abcd') ,now this abcd mbox should already exist at target side in my campaign or what?"  would be yes(assuming the API call was done with the correct syntax).

 

Thanks

Nikhil

 


Thanks for reply Nikhil.

I tried creating a simple Mbox on an HTML page. however getting error that target.js could not be resolved.

Does it have to anything with standard and classic accounts?read something about the same on one of adobe pages for target.

Does that mean I will have to have standard account and then only I can use mboxes in my html page?

Thanks in advance.

Regards,

Nikhil_Bisne

15-10-2015

Hi,

 

Check this link it should help answer your question of getting offer details. Also the answer to your second question : "One more question , the name that I give in createMbox('abcd') ,now this abcd mbox should already exist at target side in my campaign or what?"  would be yes(assuming the API call was done with the correct syntax).

 

Thanks

Nikhil

asn_177

15-10-2015

HI Nikhil,

thanks a lot for the reply.

I have gone through the page suggested, however it shows how to fetch campaign data programmatically.

The thing I am looking at is, the campaig has got some offer associated with it.I just have to fetch it on HTML page.

One more question , the name that I give in createMbox('abcd') ,now this abcd mbox should already exist at target side in my campaign or what?

I am little confused with this one !!!

 

Regards,