After creating an SSP or DSP, there are two (2) options available for sharing statistics with partners:
Upon SSP or DSP creation, an API link is automatically generated. You can locate it by navigating to the DSP/SSP settings, specifically the Access to Statistics tab.
The link template is as follows:
for SSP:
https://{{DOMAIN}}/api/StatApi/stat/ssp?client={{CLIENT_OID}}&apiKey={{KEY}}&DateFrom={{DATE_FROM}}&DateTo={{DATE_TO}}
for DSP:
https://{{DOMAIN}}/api/StatApi/stat/dsp?client={{CLIENT_OID}}&apiKey={{KEY}}&DateFrom={{DATE_FROM}}&DateTo={{DATE_TO}}
Where:
For SSPs, you can enhance the granularity of the data retrieved, by including an optional &dimension=[int] parameter in your API query. This parameter allows you to specify additional dimensions for the statistics, providing more detailed insights:
0 - Default structure with only the date dimension.
1 - Endpoint: Breaks down statistics by the specific endpoints.
2 - Country: Provides data segmented by country.
3 - OS: Offers insights based on the operating system.
4 - Publisher ID: Segments data by publisher ID.
Additional Notes: