Intro
District M is a digital media company that offers programmatic solutions to advertisers and publishers. To learn more about the District M API, visit their page (https://www.districtm.net/). You connect to your District M account in the Data Center. This topic discusses the fields and menus that are specific to the District M connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.Prerequisites
To connect to your District M account and create a DataSet, you must have the following:- A District M client ID
- A District M client secret
Connecting to Your District M Account
This section enumerates the options in the Credentials and Details panes in the District M Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your District M account. The following table describes what is needed for each field:Field | Description |
|---|---|
| Client ID | Enter your District M client ID. |
| Client Secret | Enter your District M client secret. |
Details Pane
This pane contains two primary menus, Reports and Fields, along with various other options for configuring your report.Menu | Description | ||
|---|---|---|---|
Report | Select the District M report you want to run. Currently only one report is available.
| ||
Fields | Select all of the fields you want to appear in your customized report. You can select as many fields as you want. | ||
Filter by Date? | Select whether you want to retrieve results for a specified time frame. | ||
Duration | Select whether you want to pull data for a specific date or a date range. | ||
Report Date | Select whether the report data is for a specific date or for a relative number of days back from today. | ||
Select Specific Date | Select the date for the report. | ||
Days Back | Enter the number of past days that should appear in the report. | ||
Start Date | Specify whether the first date in your date range is a specific or relative date. You select the last date in your range in End Date . | ||
End Date | Specify whether the second date in your date range is a specific or relative date. You select the first date in your range in Start Date . | ||
Select Specific Start Date | Select the first date in your date range. | ||
Select Specific End Date | Select the second date in your date range. | ||
Days Back to Start From | Enter the number of the farthest day back that should be represented in the report. Combine with Days Back to End At to create a range of represented days. For example, if you entered 10 for Days Back to Start From and 5 for Days Back to End At , the report would contain data for 10 days ago up until 5 days ago. | ||
Days Back to End At | Enter the number of the most recent day back that should be represented in the report. Combine with Days Back to Start From to create a range of represented days. For example, if you entered 10 for Days Back to Start From and 5 for Days Back to End At , the report would contain data for 10 days ago up until 5 days ago. | ||
Placement ID (Optional) | Enter a placement ID if you want to filter by placement ID. | ||
Domain Name (Optional) | Enter a domain name if you want to filter by domain name. | ||
Zone Name (Optional) | Enter a zone name if you want to filter by zone name. |