Collecting data from Amazon Ad Server (deprecated)#
This guide explains how to collect data from Amazon Ad Server (deprecated). To learn how to collect data from a different data source, go back to the Available data sources in Adverity overview.
Introduction#
For a list of the fields that you can collect from Amazon Ad Server (deprecated), see Amazon Ad Server.
The Amazon Ad Server (deprecated) connector was previously known as Sizmek SAS.
Prerequisites#
Before you start collecting data from Amazon Ad Server (deprecated), perform all of the following actions:
Contact Amazon Ad Server support to acquire the following credentials:
Username
Password
API Key
For more information on the Amazon Ad Sever API, see the Amazon Ad Server documentation.
Creating a datastream to collect data from Amazon Ad Server (deprecated)#
The basics of creating a datastream to collect data from any data source are explained in our guide to Collecting data in Adverity. This guide contains information about the specific steps to create a datastream to fetch data from Amazon Ad Server (deprecated).
Configuration: Choose the data you want to collect from Amazon Ad Server (deprecated)#
To choose what data to collect and customize the Amazon Ad Server (deprecated) datastream configuration, follow these steps:
(Optional) Rename your datastream.
In Report type, select the type of data to collect from Amazon Ad Server (deprecated). Select Adverity to build Amazon Ad Server reports within Adverity. Alternatively, select Custom to display the Report settings section. In this section, enter the API from the Amazon Ad Server user interface. For more information, see Advanced Amazon Ad Server tips.
In Accounts, Advertisers, and Campaigns, select the accounts, advertisers, and campaigns for which to collect data. If you do not select any items in a drop-down list, Adverity collects data for all items in the drop-down list.
In Campaign Type, select the type of campaign to collect from Amazon Ad Server (deprecated). The list of available metrics and dimensions differs depending on the selected Campaign type.
In Period Breakdown, select the time frame in which the data is returned.
In Dimensions and Metrics, change the list of fields that you want to see in your data extract.
(Optional) In Currency, select the currency of the cost-related metrics.
(Optional) In Time Zone, select the timezone of the time-related metrics. This field is only displayed if Display is selected as a Campaign Type.
What’s next?#
Apply Data Mapping to your collected data to harmonize data collected from different sources in Adverity.
Transform your data to meet your needs by creating and applying transformations to your datastream.
Load your data into Explore & Present to visualize your data in Adverity.
Load your data into an external destination of your choice.
Advanced Amazon Ad Server tips#
Configuring the Custom report settings#
To configure the Custom report settings for an Amazon Ad Server datastream, follow these steps:
Go to the Datastreams page.
Open the Amazon Ad Server (deprecated) datastream by clicking on its name.
In the top navigation panel, click Settings.
In Report Type, ensure the value Custom is selected.
In Report pattern, copy and paste the API object from the Amazon Ad Server user interface. You can enter a
{start}
placeholder into thedataStartTimestamp
object to substitute theYYYY-MM-DD
date. For example, the followingdataStartTimestamp
objects are applicable in the Custom report API:"dataStartTimestamp": "2021-04-27T04:00:00.000Z"
"dataStartTimestamp": "{start}T04:00:00.000Z"
"dataStartTimestamp": "{start}"
The {end} placeholder is available for the
dataEndTimestamp
object.Click Save.
Example of a Amazon Ad Server API report#
Below is an example of an API query.
{
"type": "AnalyticsReport",
"reportName": "Example report",
"reportScope": {
"timeRange": {
"timeZone": "Greenwich",
"dataStartTimestamp": "2021-04-27T04:00:00.000Z",
"dataEndTimestamp": "2021-04-30T03:59:59.999Z",
"type": "Custom"
},
"entitiesHierarchy": {
"entitiesHierarchyLevelType": "ADVERTISER",
"accountContext": 12345,
"accounts": [
12345
],
"advertisers": [
100001
],
"displayCampaignsIds": [],
"searchCampaignsIds": [],
"sites": [],
"campaignsType": [
"Display"
]
},
"attributionModelID": -1,
"impressionCookieWindow": 0,
"clickCookieWindow": 0,
"filters": {
"conversionTagIDs": [
1234567,
1345678,
1456789,
]
},
"currencyOptions": {
"type": "Custom",
"defaultCurrency": 1,
"targetCurrency": 1,
"currencyExchangeDate": "2021-04-30"
},
"presetId": null
},
"reportStructure": {
"attributeIDs": [
"Conversion Tag ID",
"Conversion Tag Name",
"Account ID",
"Account Name",
"Ad ID",
"Ad Name",
"Advertiser ID",
"Advertiser Name",
"Campaign Name",
"Campaign ID",
"Placement ID",
"Placement Name",
"Conversion Activity Type",
"Global Conversion ID",
"Is Global Conversion"
],
"metricIDs": [
"Total Conversions",
"Post Click Conversions",
"Post Impression Conversions",
"Conversion Revenue"
],
"attributeIDsOnColumns": [],
"timeBreakdown": "Day"
},
"reportExecution": {
"type": "Ad_Hoc"
},
"reportDeliveryMethods": [
{
"type": "URL",
"exportFileType": "CSV",
"compressionType": "NONE",
"emailRecipients": [
"Name@email.com"
],
"exportFileNamePrefix": "Test",
"appendTimestampToReportName": false
}
],
"reportAuthorization": {
"type": "mm3",
"userID": 0123456789,
"ownerAccountId": 98765
}
}
{
"data": {
"labels": [
"foo",
"bar"
],
"series": [
[ 0, 1, 2, 3 ],
[ 0, -4, -8, -12 ]
]
},
// we even support comments
"error": null,
"status": "Ok"
}