Leadspedia Ping Post Buyer Setup

A step by step walkthrough on setting up a Leadspedia Ping Post Buyer. To watch a video tutorial on this topic click here


To begin, you’ll need a copy of your buyer’s API specs. For this example we'll be using sample Leadspedia posting specs


First is the Ping setup. You’ll begin by copying and pasting the Ping URL into the Ping portion of the buyer set up. You’ll then select the request method and payload type. As you can see below POST or GET are supported, yet POST is strongly recommended. The default response is in XML format; You can request the response to be JSON if you pass json in lp_response field


Next are fields. Pay special attention to which fields are required on the ping. lp_campaign_id and lp_camapaign_key are hard coded fields that are provided to you by the buyer. They are required on both the ping and the post

Add the rest of the required Ping fields, as well as jornaya_lead_id or trusted_form. At least one of these is required

Leadspedia contains List fields. Ensure that the values you collect match the list values. If the values collected do not match the list values, a transformer must be used to convert the data collected before it is sent to the Leadspedia system


When your payload builder is complete it will resemble the one seen below

The header Content-Type is automatically filled out for you when you select the payload type

For the response mapping for a successful Ping, the condition will be key equal with, the key will be /response/result, and the value will be success. If the buyer system returns the real time price, you can choose to have Lead Prosper track it when storing analytics. Toggle the real time price option to ON in your buyer set up and enter /response/price as the price key

The “Send Post If” section is helpful when you only want to sell a lead to a buyer if the price is greater than a specific amount


Next is the Post set up. Start by copying the Post URL from your API specs and selecting the Request method and Payload type

Next you’ll complete the payload builder with the fields that are required on the Post. Remember that at least one of jornaya_lead_id or trusted_form is required. Once your payload builder is complete it will resemble the one seen below. The header Content-Type is automatically filled out here when you select the payload type

The response mapping for an accepted Post will be the same as the ping response. The condition will be key equal with, the key will be /response/result, and the value will be success. The response for a duplicated lead is now automatically filled out for you

Because the real time price was set on the ping, there’s no need to set it on the post


That’s all for a Leadspedia ping/post buyer setup. As always, if you have any questions please make use of the support button or send us an email at support@leadpropser.io

Still need help? Contact Us Contact Us