Rakuten Publisher Report Connector

The Rakuten Publisher Report connector provides automated access to customer-defined reports.

Prerequisites

To configure access to the Rakuten Publisher Report connector, you need:

API Token
This token can be obtained from the Rakuten Publisher Reporting web UI. Visit “Reports” and choose a report from the report list. Click the dropdown under “View Report” and Select the “Get API” option to view the API Token.

Scheduling

The Rakuten Publisher Report 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

all parameters are REQUIRED

date_type
Can be one of either transaction or process
network
string label pertaining to the network. This label is available in the “View Report” -> “Get API” panel in the Reporting UI.
report
string name of the report. This report name is available in the “View Report” -> “Get API” panel in the Reporting UI.
report_timezone
string although it is unclear which timezones are supported by Rakuten, Switchboard Software recommends using ISO 8610 time zone labels

Sample Switchboard Script

download rakuten_sales_and_activity_report from {
    type:"rakuten:publisher";
    key: "rakuten_publisher_key";
    date_type: "transaction";
    network: "1";
    report: "sales-and-events-revenue-report";
    report_timezone: "GMT";
} using {
    report_date: date;
    Transaction_ID: string;
    Transaction_Date: date("MM/dd/YY");
    Total_Commission: float;
};