Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!
SOLVED

Adobe target admin api - list activities

Avatar

Level 3

Hi team,

Am trying to pull out all the live activities in particular workspace using admin api, have created a project in developer console and have assigned  the product profile in the API settings.

I successfully get the api response for the https://mc.adobe.io/(tenatID)/target/activities But i get the activities list for the defalut work space but what i want is for particular workspace. can help any one help this regards.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee
5 Replies

Avatar

Correct answer by
Employee

@_Ragulraj Please use below to fetch activities defined within workspace:

https://mc.adobe.io/{tenant-id}/target/activities/?workspace={workspace-id}

Avatar

Community Advisor

hello @_Ragulraj  - while @ShashankNigam02 has provided correct answer for how to fetch activities filtered by workspace-id, make sure you Adobe IO project has access to the workspace you are interested in.

 

1. Go to Adobe Cloud Admin console

2. Select the profile/workspace under Adobe Target product.

3. Check the API Credentials tab. If your Adobe IO project is not there, add it using Add API Credentials button.

Rajneesh_Gautam__0-1682353139813.png

Hope this helps,

 

Regards

Rajneesh

Avatar

Level 3

Hi @Rajneesh_Gautam_ ,

We tried to insert workspace id in the api call (https://mc.adobe.io/{tenant-id}/target/activities/?workspace={workspace-id}) but still get the activities list for default workspace. can help in this regard?

Avatar

Employee

@_Ragulraj It seems like you have not added that workspace/product profile to your Adobe IO API project. You will also have to assign product profiles to that Adobe IO project.

Avatar

Administrator

Thanks for your question @_Ragulraj, and thanks for your helpful insights, @Rajneesh_Gautam_ and @ShashankNigam02!