We are happy to announce a new tool available for Propush.me partners - API.
It helps you to track statistics and manage data remotely based on the API requests.
Click this link to find the documentation and the list of available requests: https://ssp-api.propellerads.com/v5/docs/propush.html
To get access to the Propush.me API you should contact our Support team and provide us with the info how you plan working with this tool.
Once API access is granted you can go to Profile settings in your personal Propush.me account and create your token (up to 10 tokens available). This token is required to authorize in Propush SSP API.
Here are the examples of GET method requests:
1. https://api.propush.me/v5/pub/statistics - global stats for the whole account for all period of its life
2. You can add ?date_from=YYYY-MM-DD&date_to=YYYY-MM-DD, https://api.propush.me/v5/pub/statistics?date_from=2020-07-01&date_to=2020-07-08 - and you’ll have data for account for a particular period of time.
3. Grouping by zone is done through - group_by=zone_id , https://api.propush.me/v5/pub/statistics?group_by=zone_id&date_from=2020-07-01&date_to=2020-07-08
4. If you need to group data by several parameters at the same time (up to 3 parameters), just add this to your endpoint for stats pulling. For example here is how you add the grouping by geo group_by=geo - https://api.propush.me/v5/pub/statistics?group_by=zone_id&group_by=geo&date_from=2020-07-01&date_to=2020-07-08
5. Grouping by request_var (the source id)- group_by=request_var , https://api.propush.me/v5/pub/statistics?group_by=zone_id&group_by=geo&group_by=request_var&date_from=2020-07-01&date_to=2020-07-08
Please note that the request_var parameter must be no longer than 40 characters long with the following list of acceptable symbols:
- +!:/ ,?()$=.%_-
6. If you want or need to pull separate stats for zones (ex. you have many of them), here is how you add a parameter for grouping by particular zone zone_ids=ХХХ . If there are several zones, just add it several times https://api.propush.me/v5/pub/statistics?group_by=zone_id&group_by=geo&group_by=request_var&date_from=2020-07-01&date_to=2020-07-08&zone_ids=123&zone_ids=111
7. https://api.propush.me/v5/pub/sites - returns the list of added sites / landings
8. https://api.propush.me/v5/pub/zones - returns the list of zones
If you need any assistance with API, please contact our Support Team via live chats available 24/7