Adobe Target Data providers - used as profile parameters | Community
Skip to main content
Gokul_Agiwal
New Participant
April 25, 2024
Solved

Adobe Target Data providers - used as profile parameters

  • April 25, 2024
  • 1 reply
  • 789 views

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 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alexbishop

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

1 reply

alexbishop
alexbishopAccepted solution
Employee
April 25, 2024

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

Gokul_Agiwal
New Participant
April 25, 2024

Thank you @alexbishop. let me try it now.