about sending requests to the adobe analytics api | Community
Skip to main content
Level 2
December 29, 2023
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
New Participant
January 2, 2024

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

ünalavAuthor
Level 2
December 29, 2023

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

Translate
Pablo_Childe
Pablo_ChildeAccepted solution
New Participant
January 2, 2024

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
Level 4
December 29, 2023

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