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.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/screenshot1_q6ms5t.jpg)
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.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_9raau5.png)
Revenue Settings:
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_ype3l8.png)
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.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/izobrazhenie_12zo3xm.png)
If offer requires zip code, then add to body
"zip_code": "[tag:Gather:Zipcode]"
or
"zip_code": "[tag:Geo:ZipCode]"
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/screenshot-2024-08-07-15431712_6ii6vl.png)
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.
Call Acceptance Parsing. Add parsing step JPath
Call Acceptance Parsing. Add another parsing step Javascript.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/jpath_1cvndt1.png)
Create Ring Tree and add new Ring Tree Target to that
Add new Ring Tree to your routing flow
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_ojei04.png)
Please check with your personal manager that the offer you plan to integrate with supports RTB set up
Create a Ring Tree Target.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/screenshot1_q6ms5t.jpg)
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.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_9raau5.png)
Revenue Settings:
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_ype3l8.png)
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.
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/izobrazhenie_12zo3xm.png)
{
"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]"
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/screenshot-2024-08-07-15431712_6ii6vl.png)
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()
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/jpath_1cvndt1.png)
Create Ring Tree and add new Ring Tree Target to that
Add new Ring Tree to your routing flow
![](https://storage.crisp.chat/users/helpdesk/website/cc18bc9ffe16e000/image_ojei04.png)
Updated on: 13/08/2024
Thank you!