Reporting API

myTarget provides reporting API, which allows to get automatically myTarget performance data for publisher sites and apps.

To obtain Reporting API access you need to get an access token:

  1. open Access Tokens settings page in myTarget account;
  2. create new or get current Reporting API token.
Next specify authorization header for statistics API as described below.
POST /api/v2/statistics/partner/pads/day.json?date_from=2019-05-01&date_to=2019-07-18&id=123456 HTTP/1.1
Host: target.my.com
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Reporting API endpoints described here.

Generating the access token for Google AdMob/Ad Manager

Simply use the generated access token to set myTarget in Google AdMob/Ad Manager dashboard.
Was this article helpful?
Да
Нет