How to troubleshoot Prebid?

PubGuru
Last updated: August 13, 2020 | by Kean Graham
How to troubleshoot Prebid

This post was most recently updated on August 13th, 2020

Since the inception of the Prebid.js Open Source Project back in 2017, it has become the most used header bidding wrapper across the industry. Prebid.org defines Prebid.js as, “A feature-rich header bidding platform for the web, including more than 150 demand sources and 15 analytics adapters supporting currency conversion, GDPR, common ID systems, and multiple ad servers.” Publishers are running the Prebid wrapper on their sites to get the best output from their inventories and also add more functionalities based on their custom requirements on top of the stock prebid version.

With the growing tendency towards the use of Prebid wrapper, it has also become difficult for the publishers to troubleshoot it. Prebid is a very complex thing running in the header of your site, and a small problem in its setup can lead to a drastic effect on your earnings. There are several tools that you can use to troubleshoot issues in the prebid setup. Let’s take a look at them below:

#1 – Prebid Troubleshooting

You can append pbjs_debug=true as a query parameter to the URL, and it will print the auction log in your browser’s console. You can check and verify the following items from the console log.

Checking the ad units on the page

If you need to check which ad units are being called on the page, you need to open your browser’s console and type pbjs.getBidResponses();. It will print out the list of all active ad units on the page

Checking the list of all the bids and bidders

If you need to verify all bidders you added while setting up the prebid wrapper, are being called, and bids are being received, you can type pbjs.getAllWinningBids(); in your browser’s console and it will print out a list of all the active bidders, and the bids received back. You can also see the winning bids on all running ad units to verify if a specific bidder is winning the auction.

Checking your Ad Server Targeting Settings

You can type pbjs.getAdserverTargeting(); in your browser’s console and it will print your ad server settings. You can check the ad units, ad sizes, and targeting. It will also print all the key-value pairs (KVPs) recorded under each ad unit and their corresponding values.

#2 – Google Publisher Console if you’re using Google Ad Manager

If you’re running Google Ad Manager as your ad server, you can append googfc as a query parameter to the URL, and it will open up the Publisher Console. Google Publisher Console will have all the ad units implemented on the page and offer diagnostic and troubleshooting tools by opening the page inside Google Ad Manager.

#3 – PubGuru Ad Inspector (PGAI) Chrome Browser Extension

MonetizeMore offers a PubGuru Header Bidding Wrapper that is built on top of the Prebid.js latest version. It has lots of unique features that are added to the base version, which helps increase ad revenue for the publishers. To troubleshoot our PubGuru header bidding wrapper, we have built a great tool (freely available as a Chrome Extension) that can help publishers see granular data related to their auction. As the PubGuru header bidding wrapper is built on top of Prebid.js latest version, PubGuru Ad Inspector (PGAI extension) can help publishers troubleshoot any of the header wrappers that are made using Prebid.js tech.

Download PubGuru Ad Inspector here.

With PubGuru Ad Inspector, you can quickly analyze any website’s advertising setup and gain an understanding of the page load performance across all of your ad partners. It can help you diagnose many different kinds of page load, timeout and configuration issues you’re running into across your advertising partners, ad server, and header bidding adapters.

Let us explain the features and their usage below:

Dashboard

How to troubleshoot Prebid? MonitizeMore

Full desktop and mobile page analysis to visualize the page load process, isolate your ad units, and provide actionable advice on your advertising technology setup. You can see any errors or warnings for your ad units setup and also general errors like mis-implementation of a GDPR solution, or CCPA popup, etc. We have set up real-time notifications to give you a specific analysis of your advertising setup categorized into actionable advice on errors, warnings, and passes.

Ad Units Tab

How to troubleshoot Prebid? MonitizeMore

The Ad Units tab provides you with all the detailed information regarding your ad units running on a specific page. You can check the status of the ad on the page or if the ad unit div is missing on-page. It will also provide you a list of all the KVPs for each ad unit so that you can cross-check if there are any errors related to any specific KVP. You can also see where each ad unit is displayed on the page.

Timeline Tab

How to troubleshoot Prebid? MonitizeMore

The timeline tab provides you with information about the timestamp and their corresponding description explaining the event. You will be able to troubleshoot if all events are happening systematically, and auction checks are all clear.

Other important information

Under the bidder tab, it prints out the list of all bidders configured on the page and also displays potential bidders that are not set up but can be an excellent addition to your existing ad stack. Instead of checking your browser’s console log, you can get all the data available under the logs tab and take action as needed.

Conclusion

Knowing how to debug Prebid is one thing, but knowing what to do with the information, something completely different. It can get complicated and technical fast. If you don’t have the experience or a team of developers on hand, let MonetizeMore help! We can help troubleshoot any Prebid issue and optimize your header bidding for maximum performance. Sign up to MonetizeMore today!

More than 1500 publishers see 50-400% ad revenue growth with us.

Don't just take our word for it

$100M+

Paid to Publishers

3B+

Ad Requests Monthly

1500+

Happy Publishers

Recommended Reading

google-delays-cookie
Ad Industry News
April 24, 2024

Google Delays Third-Party Cookie Phase-out (Again)

Read More
best-ad-inspector
Blog
April 23, 2024

Turbocharge Your Ad Revenue with PubGuru Ad Inspector V2

Read More
make-money-real-estate-sites
Blog
April 19, 2024

Navigating the Online Real Estate Marketplace: 8 Tips for Monetized Publishers

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk

Close

Ready to 10X your ad revenue with the #1 ad management partner?

Start Now