Smart Tree with Multi-Leg Integration

The Multi-Leg Integration for Smart Tree Campaigns allows Buyers to send multiple responses to the ping with different prices and Max Sold Limit values as well as allows the Publisher to choose offers to sell leads to.

Read more about the Smart Tree Configuration in this Knowledge Base article.


The Multi-Leg Integration allows the Buyer to send a response with multiple offers (“Legs”) to the Publisher. Legs from one Buyer may have different prices and Max Sold Limit values.

Based on the Max Sold Limit value, Legs can have an “Exclusive” type (Max Sold Limit = 1) and a “Shared” type (Max Sold Limit >1).


The “Phonexa Leg” is an exclusive offer calculated automatically by the system that contains the best Leg combination based on the Price + Max Sold Limit.


After the ping is sent into the system, the Publisher receives responses from Buyers with different Legs. Each Leg has a unique “ID” and “Leg Name” (The end service provider company name or another unique parameter, that identifies the service provider) so the Publisher can choose offers to accept and send a post to (for the Ping Post type of posting only, during the Full Post type lead is sold automatically to the best offer).


To view the configuration for the Multi-Leg Integration on the Product level, go to the System Management > Products section, select the Product, click the “Settings” button in the “Actions” column, and navigate to the “Advanced Settings” tab, “Smart Tree Settings” block.

advanced settings product

You can configure the following settings:

  • Enable MD5 Hash
    • Select the “Yes” option to enable the Leg Name hashing for all Campaigns of this Product, except Campaigns that have the “Enable MD5 Hash for Leg Name” field set to the “No” option in the Campaign`s settings.
    • Select the “No” option to disable the Leg Name hashing for all Campaigns of this Product, except Campaigns that have the “Enable MD5 Hash for Leg Name” field set to the “Yes” option in the Campaign`s settings.
  • Enable Phonexa Leg: Select the “Yes” option if you want the Publisher to receive an exclusive offer calculated automatically by the system with the best Leg combination based on the Price + Max Sold Limit.
  • Phonexa Leg Name: Enter the name of the exclusive offer calculated automatically by the system.
  • Smart Tree Processing Time: Enter the time limit to post a lead to the Buyer (in seconds).
  • Smart Tree Phonexa Leg Statuses:
    • Select the “Sold” option to sell the lead to the Phonexa Leg, even if one of the Legs responds to the post with the “Reject” status and the Publisher cannot receive the payout that was promised to him based on the Buyers` responses to ping.
    • Select the “Reject” option to send the “Reject” status to the Publisher if one of the Legs responds to the post with the “Reject” status and the Publisher cannot receive the payout that was promised to him based on the Buyers` responses to ping.

To set the “Max Sold Limit” for the Campaign, go to the Campaign`s Settings “Global” tab and select the value in the “Max Sold Limit” field. Click the “Save Global Settings” to proceed.
max sold limit

The “Leg Mapping” feature allows you to filter out legs with the same “Leg Name” (The end service provider company name or another unique parameter, that identifies the service provider), based on the offered price and Max Sold Limit value, to send the Publisher the best offer.

To manage the filter settings, go to the System Management > Products section, select the Product, click the “Settings” button, and navigate to the “Leg Mapping” tab.

leg mapping tabTo add a new group of the Leg Name values for filtering, click the “Add New Group” button and enter the Name for the Group into the “Leg Group Name” field and Leg Name variations into the “Allowed Values” field. Click the “Add” button to complete the process.

add leg map

After the group is created, the system will check values in the Buyers` responses, filter out legs that contain the values set for the group, and select the only leg with the “Shared” type (Max Sold Limit > 1) and best price that will be presented to the Publisher.

Note: Legs with an “Exclusive” type are always sent to the Publisher and are not subject to filtering.