Adform DSP Reports
Extract Adform Buy-Side report data from the Reporting Stats API with client credentials, choosing dimensions, up to ten metrics, a date range and load type.
This data source connector retrieves Buy-Side report data from the Reporting Stats API (opens in a new tab). It may be used to retrieve similar data as via the MasterData source connector (opens in a new tab) if the Master Data service is not enabled in your account.
Reporting Stats API returns report data consisting of statistics derived from the data collected by the Adform tracking code. Each report is organized as dimensions and metrics. Metrics are the individual measurements of user activity on your property, such as impressions, clicks, and conversions. Dimensions break down metrics across some common criteria, such as campaign or line item. When you build a query, you specify which dimensions and metrics you want in your report data.
Before you start
You need
- An Adform API client for the client credentials flow, with the scope
https://api.adform.com/scope/buyer.stats. Adform API support registers it and sends you its client ID and client secret; see Register an Adform API client.
What each tab needs
- Prompt tab Kai, the Kai Agent button in the top bar, on supported stacks. A new Free Plan project has it from the start; elsewhere an organization admin turns it on once: Get started with Kai.
- UI tab a browser.
- CLI / API tab kbagent, connected to your project. The checks only read.
Register an Adform API client
Section titled “Register an Adform API client”Register a client application that uses the client credentials flow, following the steps in Adform’s official documentation (opens in a new tab).
Contact Adform API support (technical@adform.com) and provide the following information:
- Short description of your application (Adform’s API use case):
Retrieve Buy-Side report data from the Reporting Stats API - Authorization flow:
client credentials - List of needed scopes for application:
https://api.adform.com/scope/buyer.stats
Adform then sends you the client secret and client ID. The connector authenticates with them.
Configuration
Section titled “Configuration”Create a new configuration of the Adform DSP Reports connector.
First insert the API client secret and API client ID from Adform.

Then name the result table. It is the name of the Storage table where the result report data will be stored. The default is
report-data.
Load Type
Section titled “Load Type”Select a load type. If set to Incremental Update, the result tables will be updated based on primary key consisting of all selected dimensions. Full Load overwrites the destination table each time, with no primary keys.
Report Filter
Section titled “Report Filter”Continue by setting up the report filter.
- Date – report date range boundaries. The maximum date range accessible through API is 397 days (13 months) from today.
- Client IDs – optional list of client IDs to retrieve. If left empty, data for all available clients will be retrieved.
Dimensions
Section titled “Dimensions”Then select your report dimensions from the provided list. For a full list of dimensions and their descriptions, refer here. The list can be also retrieved using this API call (opens in a new tab).
Metrics
Section titled “Metrics”And finally, select your desired report metrics from the provided list. You are allowed to have ten metrics at maximum. Each metric
definition consists of a metric name and additional filtering possibilities (Specs Metadata) for individual metric. If no value
is specified in the Specs Metadata, the default metric is used.
For a full list of available metrics and specs, see here. It can be also retrieved using this API call (opens in a new tab).
Save the configuration and click Run Component.
Check:
Did the latest job of my Adform DSP Reports configuration succeed, and did it load the report-data table? Give its row count.Kai only reads here, so it asks for no approval, and its answer links to what it found in your project.
The job ends with status Success and Storage has a table with the name you set as the result
table (report-data by default).
kbagent job list --component-id kds-team.ex-adform-reports --config-id 123456789 --limit 1kbagent storage tables --bucket-id in.c-kds-team-ex-adform-reports-123456789Replace 123456789 with your configuration ID: status shows whether the job succeeded, and id and rows_count list the tables it loaded.
Was this page helpful?
Thank you for helping improve Keboola's documentation!