Skip to main content
Gokul_Agiwal
Community Advisor
Community Advisor
April 25, 2024
해결됨

Adobe Target Data providers - used as profile parameters

  • April 25, 2024
  • 2 답변들
  • 813 조회

Hi all, 

We are using the data providers function to call an API and pass through data to Adobe Target.  In one of the use case we need this parameters to being added as part of profile so firstly can I pass the values as profile parameters using the profile. prefix, in callback function?  

 

Reference link - https://experienceleague.adobe.com/en/docs/target-learn/tutorials/integrations/implement-data-providers-to-integrate-third-party-data 

 

For ex like below - 

var simpleDataProvider = { name: "simpleDataProvider", version: "1.0.0", provider: function(callback) { callback(null, { profile.t1: 1 profile.t2: 2 }); } }; window.targetGlobalSettings = { dataProviders: [ simpleDataProvider ] };

 

have tried in multiple ways but no success - any help highly appreciated. 

 

@alexbishop @rajneesh_gautam_ @matthew_ravlich_acg 

 

이 주제는 답변이 닫혔습니다.
최고의 답변: alexbishop

Yes, you just need to use a string (i.e. "profile.t1") instead of profile.t1

2 답변

alexbishop
Adobe Employee
Adobe Employee
April 25, 2024

Yes, you just need to use a string (i.e. "profile.t1") instead of profile.t1

Gokul_Agiwal
Community Advisor
Gokul_AgiwalCommunity Advisor작성자
Community Advisor
April 25, 2024

Thank you @alexbishop. let me try it now. 

Thanks, Gokul