Reputation: 5825
I am trying to include some house ads with my normal AdMob ads. But whenever I set up a campaign, it immediately overwhelms the normal ads. The only way I can restore them is to delete the campaign altogether. I have tried various mediation settings but to no avail. Ideally I would like the campaign the be displayed about 5% of the time, but at the moment it is being displayed 100% of the time. What are the correct settings?
Upvotes: 3
Views: 3361
Reputation: 8931
UPDATE:
Percentage allocation is no longer available on AdMob. If the exact percentage isn't important to you, you can but house ads behind other networks in your mediation flow, and house ads will show any time you fail to get an ad from any of your other configured networks.
If you really really want to achieve percentages, you can write a AdMob custom event that randomly generates a number and decides whether to request a house ad or fail immediately and move on to that network. There is an example of this here. Following that example, the steps would be altered to the following:
Label: Percentage House Ad
Class Name: com.google.example.ads.customevents.impl.PercentageHousAds (replace with your fully qualified class name)
Parameter: {"publisherId": "YOUR_HOUSE_ADS_PUBLISHER_ID", "percentage": 5}
5.Make your custom event have the highest eCPM out of all your networks, so the custom event always gets requested first.
Upvotes: 3