KNOWLEDGE BASE
Posting Bids from Retreaver to CallGrid using RTB
This guide will walk you through setting up RTB integration in your Retreaver campaign to post bid requests to CallGrid.
- Author
- CallGrid Team
- Published
This guide will walk you through setting up RTB integration in your Retreaver campaign to post bid requests to CallGrid.
Prerequisites
Before starting, ensure you have:
- An active Retreaver campaign
- CallGrid RTB URL provided by your buyer
- Administrative access to your Retreaver account
Setup Instructions
Step 1: Set Up Call Buyer in Retreaver

- In your Retreaver campaign, click "Add Buyer"
- In the Number field, enter exactly: [number] (including the square brackets)
- Configure other buyer settings as needed (payout, filters, etc.)
- Click "Create Call Buyer" to save the profile
- Copy the System Buyer ID that gets assigned to this buyer

Step 2: Update Buyer Number Format

- Edit the buyer you just created
- Change the number field from [number] to: [callgrid_{SystemBuyerID}_number]
- Replace {SystemBuyerID} with the actual System Buyer ID you copied
- Save the buyer changes
Step 3: Configure Retreaver Webhook

- In your Retreaver campaign, scroll to the Webhook section
- Click "Add Webhook"
- Set Webhook trigger to "Pass-through Ping"
- Name the webhook for your reference
- Click the Webhook Configurator Toggle to enable advanced settings
Step 4: Configure Webhook URLs

Fill in the webhook configurator fields with the URLs provided by your CallGrid buyer:
Ping URL: (Provided by your CallGrid buyer) Post URL: (Provided by your CallGrid buyer)
HTTP Method: POST Timeout: 5000ms (or as preferred)
Click "Create Webhook" to save the configuration.
Step 5: Configure Conversion Criteria

- Edit your campaign and scroll to the Conversion Criteria section
- Tag the CallGrid buyer to the conversion criteria using the wizard
- Configure the following fields:
Seconds Tag: duration Revenue Tag: payout
- If you're brokering calls, set your payout value and specify your revenue share percentage
Testing Your Integration
Test Call Process
- Use Retreaver's webhook testing tools to verify the ping/post URLs respond correctly
- Check that your CallGrid buyer's URLs are properly configured
- Verify that the buyer's number format includes the correct System Buyer ID: [callgrid_{SystemBuyerID}_number]
Expected Response Format
When testing, you should receive responses containing:
- Status: reserved (for successful bids)
- Inbound Number: Phone number for call routing
- Payout: Revenue amount for the call
- Duration: Minimum call duration required
Troubleshooting
Common Issues
Webhook Not Responding
- Verify the ping/post URLs provided by your CallGrid buyer are correct
- Check that the webhook URLs are properly formatted
- Ensure the webhook timeout settings allow sufficient response time
Buyer Not Bidding
- Confirm the buyer's number format: [callgrid_{SystemBuyerID}_number]
- Verify the System Buyer ID matches exactly
- Check that the buyer meets campaign filters and availability requirements
Conversion Tracking Issues
- Ensure the "duration" and "payout" tags are properly configured
- Verify the conversion criteria is tagged to the correct buyer
- Check that the revenue sharing percentage is set correctly
Advanced Configuration
Multiple Buyer Setup
You can create multiple CallGrid buyers within the same Retreaver campaign:
- Repeat Steps 1-2 for each additional buyer
- Each buyer will have its own unique System Buyer ID
- Use the same webhook configuration for all buyers
- Configure different payout rates or filters per buyer as needed
Support
For assistance with this integration:
- Verify all Retreaver configuration steps are completed correctly
- Ensure you have the correct CallGrid RTB URLs from your buyer
- Contact your CallGrid buyer for URL-specific issues