Expand my Community achievements bar.

SOLVED

about sending requests to the adobe analytics api

Avatar

Level 2

hi, I generated the token the hard way. but I couldn't get the page visits. can you share a sample c# code? i spent a lot of time with it but I couldn't come to a conclusion.

 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

In work space build a sample reportlet capturing your desired metrics aligning to you API query as closely as possible. Then enable debug mode on widget(actual bug).

 

Screen Shot 2024-01-02 at 2.28.01 PM.png

Then option click icon. choose sparkline as one option, it will present xml, output as well a cURL contents.

 

GLTU

View solution in original post

3 Replies

Avatar

Level 4

Hi Unalav,

 

Can you provide more details about what you tried till now?

 

Below is the document where a sample API request is made with "curl" to get the page dimension and it's metrics.

 

Did you try this endpoint?

https://developer.adobe.com/analytics-apis/docs/2.0/guides/endpoints/reports/

 

Avatar

Level 2

I've seen them, of course, but I may not have done it. I want an example from someone who has.

Avatar

Correct answer by
Community Advisor

In work space build a sample reportlet capturing your desired metrics aligning to you API query as closely as possible. Then enable debug mode on widget(actual bug).

 

Screen Shot 2024-01-02 at 2.28.01 PM.png

Then option click icon. choose sparkline as one option, it will present xml, output as well a cURL contents.

 

GLTU