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
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Reporting API endpoints described here.

Token for myTracker

Connect account to myTracker:
  • In the Publisher accounts tab choose myTracker account.
  • Press the Add button.
  • Paste the copied Token.
  • Press the Send request button. Account synchronization will be completed in 24 hours.
Was this article helpful?