How to get data for SSP partners
To get a report for SSP partners, use the Statistics report operation and pass stat_type=ssp as the report type parameter.
How to get the statistics tree:
curl -i -X -H 'Authorization: OAuth y0__wgBEObPhpsGGOeMLSC....' \
GET 'https://partner.yandex.ru/api/statistics2/tree.json?stat_type=ssp&lang=ru'
Sample API request:
curl -i -g -X -H 'Authorization: OAuth y0__wgBEObPhpsGGOe....'
GET 'https://partner.yandex.ru/api/statistics2/get.json?stat_type=ssp \
&lang=ru \
&pretty=1 \
&dimension_field=date|day \
&period=thismonth \
&entity_field=login \
&field=shows \
&field=ssp_price'
Was the article helpful?
Previous
Next