Me
Quote troubleshooting steps for ads not serving after enabling formula CPM.
Enki
**Source:** [Setting up Ad Units](https://tripledotstudios.atlassian.net/wiki/spaces/KB/pages/4304109569/Setting+up+Ad+Units)
## Troubleshooting Formula CPM Ad Serving Issues
When ads are not serving after enabling formula-based CPM, consider the following troubleshooting steps:
### 1. Verify Formula Parameters
1. **Minimum Ad Requests**
- Ensure you have set the correct minimum number of ad requests to apply the formula
- Default: Empty
- Range: 1-50 requests
- Must be less than "Ad requests to apply formula to" value
2. **Successful Ad Requests**
- Check the "Use successful ad requests only" setting
- If enabled, only successful ad requests are used for calculation
- Verify you have enough successful ad requests to meet the minimum threshold
### 2. Check Formula Configuration
- **Formula Type**:
- Verify selection (Median or Average)
- Default: Median
- **Percentage Coefficient**:
- Confirm multiplier is between 0 and 2
- Recommended: Start with 1.0 for initial testing
### 3. Fallback Mechanisms

#### Insufficient Data Handling
Configure "If insufficient ad requests" setting:
- **Return fallback value**: Uses static CPM value
- **Return nothing**: No CPM floor sent
#### Failed Requests Handling
- Enable "Use static in case of failed requests"
- Set "Number of failed requests" (1-50)
- Allows fallback to static value after X consecutive failed requests
### 4. Verification Steps
1. Confirm minimum ad request requirements are met
2. Check static fallback CPM is configured
3. Review percentile configurations
4. Validate formula parameters
5. Monitor ad serving logs
### 5. Common Issues
- Insufficient historical data
- Misconfigured request limits
- Overly restrictive formula parameters
- Miscalculated percentage coefficient
### Recommended Action
1. Start with static CPM
2. Gradually introduce formula-based calculation
3. Monitor ad fill rates
4. Adjust parameters incrementally
**Pro Tip**: Always maintain a valid fallback CPM to ensure ad serving continues during formula calculation challenges.