Avatar

Level 1

Hi, I'm trying to do an API request but am struggling to get it to work. I'd like to return pageviews by day for a given segment - just need the total pageviews, pageviews by page isn't important. Below is what I'm trying. What am I doing wrong? I'm trying to put this into Klipfolio through its Adobe Analytics data source if that impacts things.

{

"reportDescription":{

"reportSuiteID": "myrsid",

"dateFrom" : "2017-07-24",

"dateTo":"2017-07-28",

"dateGranularity":"day,

"metrics": [ {"id" : "pageviews"} ], "elements":[{"id":"page"}], "segments":[{"id":"s300002169_59517b268f0c6535eca2dddf"}]

},

"currentdata":true

}