Skip to main content
Level 2
Dec 29, 2023 5:05 AM UTC
Solved

about sending requests to the adobe analytics api

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.

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Pablo_Childe
Pablo_ChildeAccepted solution
Community Advisor
Jan 2, 2024 7:32 PM UTC

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).

 

 

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

 

GLTU

3 replies

User Group Leader
Dec 29, 2023 8:51 AM UTC

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/

 

Translate
ünalavAuthor
Level 2
Dec 29, 2023 10:15 AM UTC

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

Translate
Pablo_Childe
Community Advisor
Pablo_ChildeCommunity AdvisorAccepted solution
Community Advisor
Jan 2, 2024 7:32 PM UTC

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).

 

 

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

 

GLTU

Translate