SSL/HTTPS Compatibility in Header Bidding

Last updated: September 19, 2019 | by David Loschiavo

This post was most recently updated on September 19th, 2019

As adops, programmatic advertising, and header bidding continue to become much more technically complex, numerous publishers are asking about SSL/HTTPS and the impact it has on their sites.

Is PubGuru Header Bidding compatible with SSL/HTTPS?

Short answer: Yes.  Long answer: Yes, but be aware of the caveats. Although we are, not everyone upstream in the ad ecosystem is compatible with SSL/HTTPS.

Many advertisers and SSPs in the ad ecosystem are not compatible with https.  This reduces auction pressure and can increase discrepancies. We’ve seen publishers have negligible revenue change, but we’ve also seen publishers lose as much as 40% of page RPMs in switching to HTTPS.  The problems look something like this in the browser console when they’re happening:

Mixed Content: the page at ‘’ was loaded over HTTPS, but requested an insecure script ‘’. This request has been blocked; the content must be served over HTTPS.

Aside revenue, does SSL/HTTPS impact anything else?

Google has publicly stated they give a slight boost in organic reach to publishers using HTTPS.  For most publishers, this only affects branded queries.  For example, will get a boost from queries similar to “bank of America” — the original intention was to mitigate search fraud attacks, where phishers were generating typo queries of bank names, faking the websites, and tricking people into giving up their banking details.

Google has since expanded this to other sites, but still primarily branded queries.  Some sites have even reported a loss in organic search.  For these reasons, many publishers have been hesitant to switch.  Before making the full switch, we strongly recommend A/B testing ad performance on a segment of traffic that’s directed to an SSL/HTTPS version of your site.

How do I enable SSL/HTTPS with PubGuru Header Bidding?

If the publisher is running off page, make sure they are linking to the HTTPS version of PubGuru Header Bidding (m2hb). If you do not do this, no ads will load and no error will appear because none of our code can run.  Browser security prevents us from changing this. Example:

If the publisher is running on page, no changes are necessary.

"We are now averaging 200k to 300k euros per month, with much more potential for growth. Since M2 takes care of the backend ad optimization, we did not have to worry about our website' vitals."



Paid to Publishers


Ad Requests Monthly


Happy Publishers

Recommended Reading

December 1, 2023

Best Google AdX Partner Guide – Tea from 1500+ publishers

Read More
Ad Optimization
November 30, 2023

How to maximize ad space with multiple ad units the penalty-free way?

Read More
Last updated: November 30, 2023

Mastering the Affiliate Marketing Game: Best Tips for Bloggers

Read More

Trusted by 1,500+ publishers worldwide

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

Let's Talk


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

Start Now