I am trying to integrate the recommendations in my mobile app for both Android and iOS. So far things that I have done are :-
1. created a recommendation in target, whose main purpose would be to give results based on the country.
This is what my criteria looks like :
and this is how I choose the key
And then in design, I am returning the json which looks something like this
Also I have uploaded a .csv file, which is used to feed the data.
And I am calling my recommendation as:
customParameters.put("enitity.id","mexico"); //hashmap has been created
TargetLocationRequest loadActivity = Target.createRequest("mobile_featured_destinations",null,customParameters);
Target.loadRequest(loadActivity, new Target.TargetCallback<String>() {
@Override
public void call(String callback) {
System.out.println("callback received from target: "+mboxName+ "is: "+callback);
}
Now the results that I am getting are same irrespective of whatever value I pass, as I am expecting that on passing "india", the recommendation order will change as mentioned in the feed, but it's not happening. Is there anything I am missing, or understanding and implementing it incorrectly.
Solved! Go to Solution.
Views
Replies
Total Likes