Dianomi
The Switchboard Dianomi connector provides automated ingestion of reports available in the Dianomi Web UI.
Prerequisites
- An Email Address that provides access to the Dianomi account.
- An API Key
- The numeric Partner Id of your Dianomi account.
To request an API Key, contact your Dianomi account manager. The Partner Id can be found on the left sidebar of the Dianomi web interface.
Scheduling
The Dianomi connector can be scheduled to ingest data once per day at a user-defined hour and timezone. By default, the connector will run once at 6am PT. See Daily Scheduling for more information.
Parameters
Parameter | Description | Required/Optional? |
---|---|---|
partner_id | The numeric Dianomi Partner ID of your account. | Required |
stat | The name of the Dianomi report to import. Allowed values are: “Performance by Country” “Performance for Country by day” “Partner Revenue Over Time” “Revenue by Device” “Revenue by product type” “Smartad Performance” “Data by smartad by day” |
Required |
idnum | When using the “Data by smartad by day” stat type, |
Required for “Data by smartad by day” reports |
Sample Switchboard Script
import dianomi_partner_revenue_over_time_report from {
type: "dianomi";
key: "dianomi_key";
partner_id: 1234;
stat: "Partner Revenue Over Time";
} using {
start_date: datetime;
end_date: datetime;
currency_symbol: string;
revenue: float;
};
import dianomi_performance_by_country from {
type: "dianomi";
key: "dianomi_key";
partner_id: 1234;
stat: "Performance by Country";
} using {
date: datetime;
country: string;
impressions: integer;
clicks: integer;
revenue: string;
cpm: string;
};
import dianomi_revenue_by_device from {
type: "dianomi";
key: "dianomi_key";
partner_id: 1234;
stat: "Revenue by Device";
} using {
date: datetime;
device_type: string;
impressions: integer;
clicks: integer;
ctr: float;
revenue: string;
ecpm: string;
};
import dianomi_revenue_by_product_type from {
type: "dianomi";
key: "dianomi_key";
partner_id: 1234;
stat: "Revenue by product type";
} using {
date: datetime;
id: integer;
product_type: string;
revenue: float;
};
import dianomi_smartad_performance from {
type: "dianomi";
key: "dianomi_key";
partner_id: 1234;
stat: "Smartad Performance";
} using {
date: datetime;
id: string;
description: string;
impressions: integer;
clicks: integer;
ctr: float;
revenue: string;
ecpm: string;
};