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

Delivery API

Avatar

Level 1

Hello, 

 

I was trying to use the Delivery API to inform Adobe Target which products were seen by the user, in order to feed the criterial.

 

I've created some products and categories specially for testing this API. 

 

I found out the notification parameters could work for me, but after doing several tries sending the product.id and product.category , the recomendation is not showing the new category. 

This are the parameters sent:

 

  "notifications" : [{
      "id" : "12345145",
      "product" : {
          "id" : "id2",
          "categoryId" : "categoryApi2"
      },
      "type" : "display",
      "timestamp" : "1659095248961"
  }]
The criterial is "Most Viewed based on Favorite Category on Multiple Pages".
 
How can I send the product information to Adobe Target?
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@LuziaV have you tried passing the entity attributes as mboxParams as demonstrated under this document : https://experienceleague.adobe.com/docs/target/using/recommendations/entities/custom-entity-attribut... .

 

Another option could be to use "window.adobe.target.getOffer()" function . Details are listed here : https://developer.adobe.com/target/implement/client-side/atjs/atjs-functions/adobe-target-getoffer/?... 

 

Both these options will help you in passing the entity attribute value dynamically on the page which you could utilize for criteria algo's.

Hope this helps.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

@LuziaV have you tried passing the entity attributes as mboxParams as demonstrated under this document : https://experienceleague.adobe.com/docs/target/using/recommendations/entities/custom-entity-attribut... .

 

Another option could be to use "window.adobe.target.getOffer()" function . Details are listed here : https://developer.adobe.com/target/implement/client-side/atjs/atjs-functions/adobe-target-getoffer/?... 

 

Both these options will help you in passing the entity attribute value dynamically on the page which you could utilize for criteria algo's.

Hope this helps.

Avatar

Level 1

@Gaurav_Singh thanks for your response!

I've took a look into the documentation. 
There's a way that should work for me, sending the entities as an mbox parameter, but I cannot see the recommendations changing... how could I check that the implementation is working propertily?

Thank you!