Importing Classification using Analytics API without Experience Platform Access | Community
Skip to main content
February 21, 2025
Solved

Importing Classification using Analytics API without Experience Platform Access

  • February 21, 2025
  • 1 reply
  • 574 views

Hello,
I am interested in programmatically importing txt files using the Admin tab's Classification Importer. I looked over the documentation available for using the API to accomplish this task (documentation link: https://developer.adobe.com/analytics-apis/docs/2.0/guides/endpoints/classifications/import-file/) but noticed that to use these API requests I need access to a dataset value. I found this API request that pulls down all dataSet values: GET https://{environment}.adobe.io/data/foundation/catalog/dataSets (documentation link: https://developer.adobe.com/experience-platform-apis/references/catalog/#tag/Datasets). But I cannot use this API request because it requires SandBox data which is information I do not have access to because I do not have Experience Platform access.
Is there another way of automating the classification importer?

 

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 Harveer_SinghGi1

Hi @haithamta ,

The Dataset ID referred in classifications API documentation isn't the ID of a AEP Dataset, it is the ID of a Classification Set in Adobe Analytics.

Classification Sets can be accessed in AA UI by navigating to Components -> Classification Sets,

You can get the ID of a Classification Set through any of these methods,

  • In Classification Sets UI, open the set that you want ID for, then in the page URL you'll have the ID as shown below,
  • Use Classification API to GET all classification datasets for a RSID and retrieve the Dataset ID for the variable you need from API response similar to below one,

Cheers!

1 reply

Harveer_SinghGi1
Community Advisor
Harveer_SinghGi1Community AdvisorAccepted solution
Community Advisor
February 22, 2025

Hi @haithamta ,

The Dataset ID referred in classifications API documentation isn't the ID of a AEP Dataset, it is the ID of a Classification Set in Adobe Analytics.

Classification Sets can be accessed in AA UI by navigating to Components -> Classification Sets,

You can get the ID of a Classification Set through any of these methods,

  • In Classification Sets UI, open the set that you want ID for, then in the page URL you'll have the ID as shown below,
  • Use Classification API to GET all classification datasets for a RSID and retrieve the Dataset ID for the variable you need from API response similar to below one,

Cheers!