Campaign
Basics of the AdUp API

Author
Tom Wendt
30 Apr 2026
Use the AdUp API to retrieve reports and performance data automatically. Learn how to authenticate via OAuth, generate reports and efficiently integrate data into your own systems.

Overview
With our AdUp API, you can sit back and automatically transfer all your account data into your preferred BI system.
Procedure
Before you start
To use the AdUp API, you need to create an API access. You can do this in your account under Profile, or read more in our Support Article.
Step 1
Obtain your API login details (e.g. via the Frontend).
Step 2
Get an Access Token from the API via OAUTH.
Step 3
Use the Access Token to call the Reports Route. Check out the interactive documentation for this.
Step 4
Then, set up your personal API requests. Below in this article, you will find code examples, the description of all fields, as well as hints and links to all possible reports.
Authentication & Access Token
Step 1: Obtain API login details
Make sure you have your API login details ready.
Step 2: Request Access Token
Send an HTTP POST request to the Token endpoint https://api.adup-tech.com/v202101/oauth2/token.
Example:
grant_type: The type of grant, e.g. client_credentials.
client_id: Your Client ID.
client_secret: Your Client Secret.
Step 3: Use Access Token
After successful authentication, you will receive a response containing the Access Token. You can use this token to access protected API resources by including it in the HTTP header of your API requests:
Replace YOUR_ACCESS_TOKEN with the token you received and adjust the URL accordingly.
Additional notes:
Please note that Access Tokens have a limited runtime and must be renewed regularly.
Responses are sent in JSON format. Further information: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
The usage of Postman is described here: https://learning.postman.com/docs/sending-requests/authorization/oauth-20/#using-client-credentials
Report Request
Code
Field | Description |
|---|---|
report_name | Name of your choice for the report. |
report_type | The report type to be used for the report. See 'API Reports' below |
select | List of fields to be output in the report. The available fields depend on the report type used. See 'API Reports' below to find out the possible fields. |
conditions | List of filters to restrict the rows included in the report. A filter consists of field, operator and values |
download_format | The format in which the report is downloaded. Currently, only JSON is supported. |
date_range_type | The date range for which the report should be generated. See 'Date ranges' below |
date_range | If date_range_type is set to CUSTOM_DATE, this specifies the date range for which the report should be created. See 'Date ranges' below |
Notes
Segmentation
To obtain statistics with a higher level of detail, you can use segmentation.
For example, to get statistics only for mobile devices, you have to filter by device type.
In this case, you will want to segment your report by DeviceType. For example, if you add the Device field to a Campaign Performance Report, you will check a report with a row for each campaign and device type combination and the statistical values (impressions, clicks, conversions, etc.) split between them. Note that the number of rows can increase exponentially for each additional segment field included in your report.
Implicit Segmentation Each report is grouped by a key. For example, the Campaign Performance Report is implicitly segmented by CampaignId.
Rows without metrics
The report can contain rows that display no values under metrics. This can be caused by non-deliverable items or items paused within the queried time period.
To get rows without metrics, you can set includeZeroImpressions to true (default) in the header. This can be used, for example, to create a structure report that contains all available settings of the account.
To reduce the number of rows if there are many items without metrics, includeZeroImpressions should be set to false. Alternatively, a filter on metrics in conditions can also be used.
Date ranges
For each date_range_type except CUSTOM_DATE, only date_range_type is required.
Date range | Reports are generated for... | Example |
|---|---|---|
TODAY | today only | |
YESTERDAY | yesterday only | |
LAST_7_DAYS | the last 7 days excluding today | |
LAST_WEEK | the 7-day period starting from last Monday | |
LAST_BUSINESS_WEEK | the 5-day business week, Monday to Friday, of the last business week | |
THIS_MONTH | all days of the current month | |
LAST_MONTH | all days of the last month | |
ALL_TIME | the entire available period | |
CUSTOM_DATE | A custom date range. See Custom date range. | |
LAST_14_DAYS | the last 14 days excluding today | |
LAST_30_DAYS | the last 30 days excluding today | |
THIS_WEEK_SUN_TODAY | the period between last Sunday and today | |
THIS_WEEK_MON_TODAY | the period between last Monday and today | |
LAST_WEEK_SUN_SAT | the 7-day period starting from last Sunday |
Micro Amount data type
Some fields have the Micro Amount data type. These contain, for example, currency values multiplied by a factor of one million (1,000,000).
Example: A value of EUR 123.4567 is output as 123456700 in the field.
API Reports
We currently offer four different reports that can be retrieved individually via the API.
Account Performance Report (Advertiser) Documentation
Ad Performance Report (Advertiser) Documentation
Campaign Performance Report (Advertiser) Documentation
Direct Placement Performance Report (Advertiser) Documentation
Placement Layout Performance Report (Publisher) Documentation
Site Performance Report (Publisher) Documentation
Further Scopes and Routes
Have you selected further scopes in addition to reporting in your API access? To get the suitable routes and information, please contact your AdUp contact person or write to us via support(at)adup-tech.com.
