Expand my Community achievements bar.

Adobe Analytics API returning empty list of report suites despite them being present in the UI

Avatar

Level 1

Hello,

 

We have a client for whom the Adobe Analytics API is not returning any report suites despite them existing/being present in the client's UI.

 

I have executed API calls with both versions: 1.4 and 2.0 and they yield the same result (an empty list of report suites).

 

The Oauth access token has been generated with the grant type client_credentials and the scope openid,AdobeID,additional_info.projectedProductContext.

 

Here are the API calls that have been executed to retrieve the report suites:

 

 

curl --location --request POST 'https://api.omniture.com/admin/1.4/rest/?method=Company.GetReportSuites' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api_key>' \
--header 'x-proxy-global-company-id:<'company_id> \
--header 'Authorization: ••••••' 
curl --location 'https://analytics.adobe.io/api/<company_id>/reportsuites/collections/suites' \
--header 'Content-Type: application/json' \
--header 'x-api-key:<api_key>' \
--header 'x-proxy-global-company-id: <company_id>'

 

 

In both cases, an empty list of report suites is being returned.

 

Any ideas on what might cause this? I'm thinking it could be permission issues, but the client has confirmed that it has set up all the permissions accordingly:

  • Product admin, product profile user or admin, and developer permissions.

  • Adobe Experience Cloud needs to have web service access permission enabled to export Hootsuite data into Adobe Analytics.

  • Ensure your product profile permissions include the report suite and metrics you want to track, as well as the dimensions associated with your metrics and tracking parameters.

Thank you,

Vlad

1 Reply

Avatar

Level 2

Hi @VladTr2  : You are correct it looks you dont have access to report suite which you are trying to access using API. Also make sure in product profile you have added that report suite under permissions tab. Also check correct user group is assigned which has that product profile assigned. Usually, I have seen this issue if correct user group is not assigned, but just verify once.

 

Additionally, you can try this tool for ready use : https://adobedocs.github.io/analytics-2.0-apis/

 

Happy Learning!!