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

razai22062698
razai22062698
Offline

Badges

Badges
8

Accepted Solutions

Accepted Solutions
0

Likes

Likes
3

Posts

Posts
11

Discussions

Discussions
0

Questions

Questions
11

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by razai22062698
Customize the badges you want to showcase on your profile
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Can you please share the code piece ?

Views

1.8K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
I feel the problem is with requesting token using Javascript, because when I requested token using JSON client like Postman or ARC(Advance REST Client) It work successfully and I got the JSON response with Access Token. Do you have idea to get Token using Javascript or AJAX ?

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
I am getting this : XMLHttpRequest cannot load https://api.demdex.com/oauth/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 401.

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hi Unni,I have tried both beta and production site, still facing the same issue. I think this might be a cross domain issue as I am runnin code from a local file

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hey Aman,I am not using any tool, I am just doing it via Javascript. I feel there is some cross domain issue.

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hi Unni,Please find sample request below :$.get( { url: 'https://api-beta.demdex.com/oauth/token', type: 'POST', dataType : "jsonp", data: { content: 'grant_type=password&username=ABCDEFHG&password=XOXOX1234' }, beforeSend : function( xhr ) { xhr.setRequestHeader( "Authorization", "Basic Ym1vZW5jam1vZWFsLW1bXQ6NjRn3djlrN211nbXQ6NjRcWc5YmhwZmIyYjlmVwbzRtcmJpbaTF0" ); xhr.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); }, success: function( response ) { var responseData = ...

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hey,I have done just like this, still receiving the unauthorized error . Please check the code below (Note : I am running this code from a local HTML file, I have not published anything yet on the http):$.get( { url: 'https://api-beta.demdex.com/oauth/token', type: 'POST', dataType : "jsonp", data: { content: 'grant_type=password&username=&password=' }, beforeSend : function( xhr ) { xhr.setRequestHeader( "Authorization", "Basic " ); xhr.setRequestHeader( "Content-Type", "application/x-www-form-...

Views

1.9K

Like

1

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hi Gaurang,I am facing authorization issue while using this code, do you have any idea how to setup authorization as given in this link ? I have Client ID and Client secret

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Thank you Parit hoping great answers in new community as well

Views

1.9K

Likes

0

Replies

0
Re: DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hey, Thank you so much Dev I already checked these links and they are really helpful. I am working on a javascript to create DMP trait in AAM and below is so far what I have created, can you please have look and suggest.var Data = '[{ "pid": 0, "name": "TestData", "description": "TestData", "integrationCode": "TestData", "comments": "TestData", "traitType": "TestData", "status": "TestData", "dataSourceId": 0, "folderId": 0, "traitRule": "TestData", "type": 0, "categoryId": 0, "crUID": 0, "upUID"...

Views

1.9K

Likes

0

Replies

0
DMP Trait via API
Avatar
Boost 3
Level 2
razai22062698
Level 2

Likes

3 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Boost 3
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
razai22062698
- Adobe Audience Manager
Hey Guys,It's Raza from Bank of Montreal Canada, I am a part of Personalization team here. We are working on something and we need some help. Do anybody have idea about creating a DMP Trait using API. What are prerequisites and other things ?As of current scenario I have created a tool to generate DMP ruleset and then we copy that ruleset and manually apply that to Adobe Audience Manager(AAM). And In a future iteration of this tool, i'd like to use the AAM APIs within tool to automatically creat...

Views

11.9K

Likes

2

Replies

21
Likes from