Offer Wall Integration
Integrate Your Market Research
Plug in Your Market Research Profile
Launching the Market Research SDK requires three parameters or data points: your publisher ID, the Profile ID associated with a Market Research profile that you have created, and the unique ID of the user who is using the Market Research. Your Profile ID, along with your publisher ID, should have been retrieved on the last step of the previous page after having set up your Market Research profile.
Showing the Market Research
Before proceeding make sure you have imported our Unity plugin into your project.
To display the Market Research UI, call the
AdscendMedia.ShowMarketResearch method with the values you gathered above for Publisher ID and
Profile ID, along with the end user's unique ID for subId1 in the following manner:
string publisherId = "32740"; string mr_profileId = "3"; string subId1 = "demo_subid1"; //you cannot pass anything but the internal property 'name' as first parameter otherwise callbacks won't work AdscendMedia.ShowMarketResearch (name, publisherId, mr_profileId, subId1);
In the downloaded SDK you will also find a sample Unity project showing how to integrate our Market Research Surveys.
Market Research with Optional Parameters
There are a few optional properties you can use as well (usage outline below):
dictionary = new Dictionary (); dictionary.Add (AdscendMedia.SUB_ID2, "demo_subid2"); dictionary.Add (AdscendMedia.SUB_ID3, "demo_subid3"); dictionary.Add (AdscendMedia.SUB_ID4, "demo_subid4"); AdscendMedia.ShowMarketResearch (name, publisherId, mr_profileId, subId1, dictionary);
subid1 parameter, you can set the value of
MarketResearchActivity.SUB_ID4 to whatever you like, as they are used only for your own tracking purposes. If you have a certain group of users you want track collectively, such as users using a premium version of your app, you could set one of these optional subids to the same value for each of these users. You will then be able to retrieve statistics for this group in the publisher dashboard.
If you have any questions about integrating Market Research Surveys into your project, shoot us an email at: