Publisher API
Ad Network Reporting
1 min
reporting timing all reporting uses utc reporting is updated throughout the day however, there can be a 90 minute delay in reporting tab examples url https api paved com publisher v1 newsletters slug ad network reporting name ad network reporting method get request pathparameters kind required name slug type string children description your newsletter slug kind optional name placement id type string children description filter by placement queryparameters kind optional name from date type string children description format yyyy mm dd iso8601 nall times are in utc kind optional name to date type string children description format yyyy mm dd iso8601 nall times are in utc headerparameters kind required name authorization type string children description bodydataparameters formdataparameters results languages id umbyziigg ghv1cxambin code n n date 2022 09 01 n impressions 3 n clicks 1 n earnings 10 0 n ctr 0 33 n n n date 2022 09 02 n impressions 5 n clicks 2 n earnings 12 0 n ctr 0 40 n n language 200 customlabel id yc1nelkltmzh5znnnafyw code language 404 customlabel selectedlanguageid umbyziigg ghv1cxambin examples languages id lddvnmfy6g8cqccgh34 1 code curl location g request get https api paved com publisher v1 newsletters slug ad network reporting?from date string to date string n header accept application json n header authorization token xx language curl customlabel id iusjgnvegmrksy93a2 gh code var request require request ; nvar options n method get n url https api paved com publisher v1 newsletters slug ad network reporting?from date string to date string n headers n accept application json n authorization token xx n n ; nrequest options function error response n if error throw new error error ; n console log response body ; n ; n language nodejs customlabel id zy8563kvdt2x39m4zj60h code var myheaders new headers ; nmyheaders append accept application json ; nmyheaders append authorization token xx ; n nvar requestoptions n method get n headers myheaders n redirect follow n ; n nfetch https api paved com publisher v1 newsletters slug ad network reporting?from date string to date string requestoptions n then response response text n then result console log result n catch error console log error error ; language javascript customlabel id jtekjs1h5glofcxjtadai code import requests n nurl https api paved com publisher v1 newsletters slug ad network reporting?from date string to date string n npayload nheaders n accept application json n authorization token xx n n nresponse requests request get url headers headers data payload n nprint response text n language python customlabel id zp2kbsfddqxcc2mzqpepx code require uri nrequire net http n nurl uri https api paved com publisher v1 newsletters slug ad network reporting?from date string to date string n nhttps net http new url host url port nhttps use ssl true n nrequest net http get new url nrequest accept application json nrequest authorization token xx n nresponse https request request nputs response read body n language ruby customlabel selectedlanguageid zp2kbsfddqxcc2mzqpepx description retrieve earnings and reporting on the site or placement level currentnewparameter label query parameter value queryparameters