Does anyone have any suggestions for getting Segments out of the Adobe Audience Manager API?
I'm currently getting a 404 error when trying to get our segments from the AAM API. Does anyone have any tips for getting a successful response from https://aam.adobe.io/v1/segments/?
It returns a 404 for me when I try the call in Swagger as well... https://bank.demdex.com/portal/swagger/index.html#/Segments%20API/get_segments_
I can get Traits, DataSources, Destinations, SegmentFolders, and even LargestSegments just fine but segments doesn't seem to be working for me for some reason.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @dbonomo ,
With https://aam.adobe.io/v1 domain, you need to pass:
x-api-key , your client ID
x-gw-ims-org-id. , your company's IMS OrgID
The call should get you all the segments.
If this doesn't work then you have BAAAM Tool to pull that information. Please follow the below steps:
Download BAAM Tool from here.
Open this Excel file and enable “Editing” + “Macros”
Now, in “Config” worksheet enter IMS ORGID.
Go to “BAAAM” Tab and click on the authentication option which you would like to proceed with. Easy one is “Adobe ID”
You will be redirected to your Experience Login page where you can login and get one token for yourself. Copy this token and paste it in token field.
Once the validate token step is complete, switch to “Request” worksheet.
At this point, we will fire an API call to pull a complete list of segments with their details.
Click on “Segments” and see the below menu:
As per your requirement, you work with “Request All Segments”.
I hope this helps, please let me know if you have any additional questions.
Regards
Ankita Sodhi
Just checking, have you tried pulling specific segments through integration code?
Views
Replies
Total Likes
Yes, and specific segments work ok. We just need a way to get all of the segments at once as well.
Views
Replies
Total Likes
Hello @dbonomo ,
With https://aam.adobe.io/v1 domain, you need to pass:
x-api-key , your client ID
x-gw-ims-org-id. , your company's IMS OrgID
The call should get you all the segments.
If this doesn't work then you have BAAAM Tool to pull that information. Please follow the below steps:
Download BAAM Tool from here.
Open this Excel file and enable “Editing” + “Macros”
Now, in “Config” worksheet enter IMS ORGID.
Go to “BAAAM” Tab and click on the authentication option which you would like to proceed with. Easy one is “Adobe ID”
You will be redirected to your Experience Login page where you can login and get one token for yourself. Copy this token and paste it in token field.
Once the validate token step is complete, switch to “Request” worksheet.
At this point, we will fire an API call to pull a complete list of segments with their details.
Click on “Segments” and see the below menu:
As per your requirement, you work with “Request All Segments”.
I hope this helps, please let me know if you have any additional questions.
Regards
Ankita Sodhi
Very useful! Thank you, @Ankita_Sodhi
Views
Likes
Replies