This data source connector retrieves Buy-Side report data from the Reporting Stats API. It may be used to retrieve similar data as via the MasterData source connector 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.
First you must register a client application using the Credentials flow authentication. To register the application, follow the steps described in Adform’s official documentation.
Contact Adform API support (technical@adform.com) and provide the following information:
Retrieve Buy-Side report data from the Reporting Stats API
client credentials
https://api.adform.com/scope/buyer.stats
You will then receive your client secret and client ID. They will be used for the authentication.
Create a new configuration of the Adform DSP Reports connector.
First insert the API client secret and API client ID that you obtained from Adform (Adform client credentials for a registered
app with the Client credentials flow
enabled).
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
.
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.
Note: When set to Incremental Update
, the primary key is set automatically based on the dimensions selected. If the dimension list is changed in an existing configuration, the existing result table might need to be dropped or the primary key changed before the load, since its structure will be different. If set to Full Load
, no primary key is set.
Continue by setting up the report filter.
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.
Note: Please keep in mind that some combinations of metrics and/or dimensions are not supported.
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.
Note: Please keep in mind that some combinations of metrics and/or dimensions are not supported.