clickio

primis API reporting

Aug 25th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. curl "https://console.primis.tech/UI/php/responders/apiResponder.php?method=authentication&apiUserName=clickioAPI&apiUserCode=901698535216&version=2.14"
  2.  
  3. Report Request:
  4.  
  5. curl -X POST -d 'token=[YOUR_TOKEN]&version=2.14&method=publisherReport&data=[{"name":"reportType","data":"media"},{"name":"timeInterval","data":"cumulative"},{"name":"period","data":"yesterday"},{"name":"dimensions","data":["placement"]},{"name":"metrics","data":["id","name","placement_imps","revenue","rpm","placement_ivt_hidden_rate","placement_avg_duration","placement_viewable_avg_duration","placement_engagement_rate","placement_viewability_rate"]},{"name":"foldDomainFilter","data":"true"}]' -f https://console.primis.tech/UI/php/responders/apiResponder.php
  6.  
  7. Get Report Data (async):
  8.  
  9. curl --data "token=[YOUR_TOKEN]&version=2.14&method=publisherReport&reportId=[REPORT_ID]" -f https://console.primis.tech/UI/php/responders/apiResponder.php
Add Comment
Please, Sign In to add comment