Articles on: Working with offers

Offer Availability Ping Integration with Ringba

How to integrate Ringba and Marketcall for Ping-Post/RTB/Ring tree set up:
Please check with your personal manager that the offer you plan to integrate with supports RTB set up

Create a Ring Tree Target.



Select settings such as number type, tags, and confirmation request. You can choose the number type as either Number or SIP (Marketcall supports both types) and enter the rented number of your Marketcall campaign.


Revenue Settings:


Don't forget to set up Webhooks from Ringba
In the request settings, enter the following information:

URL - https://www.marketcall.com/api/v1/affiliate/offers/OFFER_ID/bid-requests , where {OFFER_ID} is the offer ID in Marketcall.



{
"campaign_id": "301108",
"caller_id": "[Call:InboundPhoneNumber]"
}

If offer requires zip code, then add to body
"zip_code": "[tag:Gather:Zipcode]"
or
"zip_code": "[tag:Geo:ZipCode]"




campaign_id - is the campaign ID in Marketcall, replace 301108 with your campaign id

Http headers:
Key: x-api-key
Value: here.

Dynamic Bid Parsing and Call Acceptance Parsing
Dynamic Bid Parsing. Add parsing step JPath.
data.earn.amount


Call Acceptance Parsing. Add parsing step JPath
data.is_available


Call Acceptance Parsing. Add another parsing step Javascript.
return input.toLowerCase() === "true".toLowerCase()





Create Ring Tree and add new Ring Tree Target to that
Add new Ring Tree to your routing flow

Updated on: 13/08/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!