Getting Started

Generating API Keys

Calling API Functions

JSON or XML

API Call Rate Limits

Affiliate Accounts

Functions

Types

Merchant Accounts

Functions

Types

TrafficSourceReportArray Type

Represents zero or more lines in a traffic source report.


Array Elements

Type Description
TrafficSourceReport Represents a single line in a traffic source report.

JSON XML

Example

[
    {
        "TrafficType": "Website",
        "TrafficSource": "https://www.example.com/",
        "ImpressionsTotal": 3000,
        "ImpressionsBot": 10,
        "ClicksTotal": 1000,
        "ClicksBot": 10,
        "TransactionsPending": 10,
        "TransactionsApproved": 5,
        "TransactionsVoid": 1,
        "SaleValuePending": 1000.00,
        "SaleValueApproved": 500.00,
        "SaleValueVoid": 100.00,
        "CommissionPending": 100.00,
        "CommissionApproved": 50.00,
        "CommissionVoid": 10.00,
        "OverridePending": 25.00,
        "OverrideApproved": 12.50,
        "OverrideVoid": 2.50
    },
    {
        "TrafficType": "Website",
        "TrafficSource": "https://www.example.com/page2",
        "ImpressionsTotal": 3000,
        "ImpressionsBot": 10,
        "ClicksTotal": 1000,
        "ClicksBot": 10,
        "TransactionsPending": 10,
        "TransactionsApproved": 5,
        "TransactionsVoid": 1,
        "SaleValuePending": 1000.00,
        "SaleValueApproved": 500.00,
        "SaleValueVoid": 100.00,
        "CommissionPending": 100.00,
        "CommissionApproved": 50.00,
        "CommissionVoid": 10.00,
        "OverridePending": 25.00,
        "OverrideApproved": 12.50,
        "OverrideVoid": 2.50
    },
    {
        "TrafficType": "Pay Per Click",
        "TrafficSource": null,
        "ImpressionsTotal": 3000,
        "ImpressionsBot": 10,
        "ClicksTotal": 1000,
        "ClicksBot": 10,
        "TransactionsPending": 10,
        "TransactionsApproved": 5,
        "TransactionsVoid": 1,
        "SaleValuePending": 1000.00,
        "SaleValueApproved": 500.00,
        "SaleValueVoid": 100.00,
        "CommissionPending": 100.00,
        "CommissionApproved": 50.00,
        "CommissionVoid": 10.00,
        "OverridePending": 25.00,
        "OverrideApproved": 12.50,
        "OverrideVoid": 2.50
    }
]
<TrafficSourceReportArray xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Merchant">
    <TrafficSourceReport>
        <TrafficType>Website</TrafficType>
        <TrafficSource>https://www.example.com/</TrafficSource>
        <ImpressionsTotal>3000</ImpressionsTotal>
        <ImpressionsBot>10</ImpressionsBot>
        <ClicksTotal>1000</ClicksTotal>
        <ClicksBot>10</ClicksBot>
        <TransactionsPending>10</TransactionsPending>
        <TransactionsApproved>5</TransactionsApproved>
        <TransactionsVoid>1</TransactionsVoid>
        <SaleValuePending>1000.00</SaleValuePending>
        <SaleValueApproved>500.00</SaleValueApproved>
        <SaleValueVoid>100.00</SaleValueVoid>
        <CommissionPending>100.00</CommissionPending>
        <CommissionApproved>50.00</CommissionApproved>
        <CommissionVoid>10.00</CommissionVoid>
        <OverridePending>25.00</OverridePending>
        <OverrideApproved>12.50</OverrideApproved>
        <OverrideVoid>2.50</OverrideVoid>
    </TrafficSourceReport>
    <TrafficSourceReport>
        <TrafficType>Website</TrafficType>
        <TrafficSource>https://www.example.com/page2</TrafficSource>
        <ImpressionsTotal>3000</ImpressionsTotal>
        <ImpressionsBot>10</ImpressionsBot>
        <ClicksTotal>1000</ClicksTotal>
        <ClicksBot>10</ClicksBot>
        <TransactionsPending>10</TransactionsPending>
        <TransactionsApproved>5</TransactionsApproved>
        <TransactionsVoid>1</TransactionsVoid>
        <SaleValuePending>1000.00</SaleValuePending>
        <SaleValueApproved>500.00</SaleValueApproved>
        <SaleValueVoid>100.00</SaleValueVoid>
        <CommissionPending>100.00</CommissionPending>
        <CommissionApproved>50.00</CommissionApproved>
        <CommissionVoid>10.00</CommissionVoid>
        <OverridePending>25.00</OverridePending>
        <OverrideApproved>12.50</OverrideApproved>
        <OverrideVoid>2.50</OverrideVoid>
    </TrafficSourceReport>
    <TrafficSourceReport>
        <TrafficType>Pay Per Click</TrafficType>
        <TrafficSource i:nil="true" />
        <ImpressionsTotal>3000</ImpressionsTotal>
        <ImpressionsBot>10</ImpressionsBot>
        <ClicksTotal>1000</ClicksTotal>
        <ClicksBot>10</ClicksBot>
        <TransactionsPending>10</TransactionsPending>
        <TransactionsApproved>5</TransactionsApproved>
        <TransactionsVoid>1</TransactionsVoid>
        <SaleValuePending>1000.00</SaleValuePending>
        <SaleValueApproved>500.00</SaleValueApproved>
        <SaleValueVoid>100.00</SaleValueVoid>
        <CommissionPending>100.00</CommissionPending>
        <CommissionApproved>50.00</CommissionApproved>
        <CommissionVoid>10.00</CommissionVoid>
        <OverridePending>25.00</OverridePending>
        <OverrideApproved>12.50</OverrideApproved>
        <OverrideVoid>2.50</OverrideVoid>
    </TrafficSourceReport>
</TrafficSourceReportArray>

Related Links