Report via API

89 views
Skip to first unread message

ro...@wiseair.io

unread,
Nov 1, 2017, 9:41:38 AM11/1/17
to PocketMath API
Hi,

Are the reports available via the API? or if not, planned to be?
I need an hourly report of campaign with final cpm metric.

I noticed the "stats" endpoint in the API docs but it requires a specific order.

Thanks!
Roee

Anthony Eliezer Arellano

unread,
Nov 2, 2017, 1:52:16 AM11/2/17
to PocketMath API
Hi Roee,

Unfortunately, we don't have any endpoints for generating reports via the API yet and I don't think the feature will be available anytime soon.
I don't think there's no other place you can find CPM metrics other than the "stats" endpoints. The "campaign_stats" can only give basic stats as well.
You might need to head into the UI and generate reports per campaign to get the stats you desire.

Anthony Eliezer Arellano

unread,
Nov 2, 2017, 1:54:34 AM11/2/17
to PocketMath API
correction: * There's no other place you can find CPM metrics other than the "stats" endpoints.

ro...@wiseair.io

unread,
Nov 2, 2017, 4:27:33 AM11/2/17
to PocketMath API

Hi Anthony,

 

Thank you for the information!

Is it possible to generate the stats without specifying a campaign id ? i.e get it for all campaigns?

 

 

Thanks!

Anthony Eliezer Arellano

unread,
Nov 2, 2017, 5:25:51 AM11/2/17
to PocketMath API
Sorry, we don't have that resource available yet. Our product team will give timely updates when we do it. 
For now, please use the GET "campaign_stats" endpoint and calculate advance stats(CPM, CVR, etc.) from there.

Cheers!

ro...@wiseair.io

unread,
Nov 2, 2017, 5:45:19 AM11/2/17
to PocketMath API
Hi Anthony,

OK thanks your for quick response!

Roee

g...@rj-games.com

unread,
Jul 30, 2018, 8:25:05 AM7/30/18
to PocketMath API
Hi Anthony! 
Is it possible to generate report via API:
campaign - ad - exchange - publisher - spend
We need to match a spends per publisher/exchange pair with our tracking raw data to operate properly. 

myk...@pocketmath.com

unread,
Jul 30, 2018, 11:40:29 PM7/30/18
to PocketMath API


Hi,

You can use this end point: /v3/orders/{order_id}/stats/publishers.json
It will give you publisher and exchange details for a particular Order.


If you want aggregated stats per Campaign, you can use this: /v3/campaigns/{campaign_id}/campaign_stats/publishers.json

Regards,
Myk.


g...@rj-games.com

unread,
Jul 31, 2018, 4:14:56 AM7/31/18
to PocketMath API
Hi! 
I have access to api version 1. How I can get acccess to ver3? 

myk...@pocketmath.com

unread,
Jul 31, 2018, 6:37:08 AM7/31/18
to PocketMath API
Can you give me an example of the API endpoint you are currently using?
Visit https://console.pocketmath.com/api?api_version=3 to see API documentation. API is available to all customers. If you don't have API access - please contact our customer support.
API v1 and v2 are deprecated now. If you are using API that means you are using API v3.

g...@rj-games.com

unread,
Jul 31, 2018, 6:49:39 AM7/31/18
to PocketMath API

myk...@pocketmath.com

unread,
Jul 31, 2018, 6:58:23 AM7/31/18
to PocketMath API
Sorry, didn't realize your are referring to the Pro console.
We are still in process of building API for Pro version.
A lot of API endpoints are already available.
Stats API is next in our roadmap. It should become available till the end of August.

g...@rj-games.com

unread,
Jul 31, 2018, 9:23:44 AM7/31/18
to PocketMath API
Thanks! 

Simpson Gyu Sup Sim

unread,
Sep 3, 2018, 12:14:24 AM9/3/18
to PocketMath API
Can I get spending data from reporting API? 

Andi Susanto

unread,
Oct 3, 2018, 5:41:27 AM10/3/18
to PocketMath API
Hi Simpson,

Yes, you can get spending data from our statistics endpoint.
Reply all
Reply to author
Forward
0 new messages