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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Showing the offer from a campaign on HTML page using mbox

asn_177
Level 4
Level 4

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.

1 Accepted Solution
shekhardhiman
Correct answer by
Employee
Employee

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!

View solution in original post

7 Replies
Nikhil_Bisne
Level 8
Level 8

Hi,

 

Would request you refer to this API call and let us know in case of any further queries.

 

Thanks

Nikhil

asn_177
Level 4
Level 4

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,

Nikhil_Bisne
Level 8
Level 8

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
Level 4
Level 4

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,

Anonymous
Not applicable

My problem is still not SOLVED

Nikhil_Bisne
Level 8
Level 8

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

shekhardhiman
Correct answer by
Employee
Employee

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!

View solution in original post