Forum Moderators: martinibuster

Message Too Old, No Replies

Displaying adsense ads on secure pages?

I get the error pop-up: Do you want to display non-secure items?

         

Hubie

10:32 pm on Aug 26, 2006 (gmt 0)

10+ Year Member



What do I need to do? I have a site users can sign up and log-in. but when a link is clicked that goes to these pages I get the annoying: This page contains both secure and non-secure items. Do you want to display non-secure items? (Yes -- No).

This has only happened since I pasted the adsense code into my template

Hubes

Quadrille

9:02 am on Aug 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's a brwoser-specific thing; it depends on the individual's security settings.

incrediBILL

6:26 pm on Aug 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Do you offer an SSL version of your ad code?

Although you may place the AdSense ad code on a page using Secure Socket Layers, we do not currently offer an https version of the AdSense ad code at this time. Therefore, you may see a message asking for confirmation to load all items on the page when placing the AdSense ad code on secure https pages.

If you don't want you or your visitors to see the non-secure errors, then you will need to change your site to work in HTTP instead of HTTPS at this time.

Hubie

12:06 am on Aug 28, 2006 (gmt 0)

10+ Year Member



that's B.S.!

You'd think google would have this covered!

incrediBILL

12:20 am on Aug 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



They do, I quoted it from their help page...

Hubie

2:02 am on Aug 28, 2006 (gmt 0)

10+ Year Member



I just heard that having adsense ads display on pages AFTER a user of your site has logged in, is against TOS. is this true?!

Hubie

2:22 am on Aug 28, 2006 (gmt 0)

10+ Year Member



This BLOWS. Can I really not display ads to my best most targeted visitors? (the ones who sign up for my site!).

There MUST be a way to have this google script run even on secure pages WITHOUT asking on EVERY page if they want to display the secure and non-secure items.

Any help hugely appreciated

incrediBILL

2:40 am on Aug 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Why are people that "sign-up" run through SSL?

That's a very high CPU overhead on your server and doesn't scale well.

Google says:
[google.com...]

Your web pages are behind a login.

At this time, pages that require a login can not be easily visited by our crawlers. Additionally, since these types of pages are not easily visited for approval and it is difficult for our AdSense specialists to verify that pages behind a log in follow Google AdSense policies, we are unable to offer support for these pages.

One way around the crawler and approval problem is to allow anything from Googles IP range immediate access.

The downside to that strategy is Google's translate and web accelerator both give non-Googlers access to your content.

It's a tradeoff, but HTTPS isn't doable no matter what.

therob

3:14 am on Aug 28, 2006 (gmt 0)

10+ Year Member



This is what you do.

Go on HTTP. Use a cookie with proper security in the development language of choice to display member specific content (User specific menus, user information, whatever). Now place your ads in the content that is viewable to non logged in users.

mt1955

8:12 am on Aug 28, 2006 (gmt 0)

10+ Year Member




That's a very high CPU overhead on your server and doesn't scale well.

Google says:
https://www.google.com/support/adsense/bin/answer.py?answer=


In that case I hope there are not a lot of simultaneous Adsense support queries. :-)

What happens if you use iframe to separate the https content from the non-https content such as ads? It might work but I doubt if the ads can still be contextual

rbacal

2:11 am on Aug 29, 2006 (gmt 0)



What happens if you use iframe to separate the https content from the non-https content such as ads? It might work but I doubt if the ads can still be contextual

Don't think that will work. Browsers may still often popup warnings. The problem has nothing to do with google. It has everything to do with internet protocols and browser settings.

Go all http except for direct order page, or give up, unless some genius figures out a way to get around all the security protocals.

frox

7:42 am on Aug 29, 2006 (gmt 0)

10+ Year Member



unless some genius figures out a way to get around all the security protocals.

A genius of evil :-)

Seriously, if you find a way to disable that, you found a bug in the broswer's security protocols, and it will get fixed sooner or later...

plasma

8:43 am on Aug 29, 2006 (gmt 0)

10+ Year Member



Even if it was possible, wouldn't resources from other domains pose a risk?
Can code inside an iframe access data from the outer page?

Hubie

6:58 pm on Aug 30, 2006 (gmt 0)

10+ Year Member




System: The following message was spliced on to this thread from: http://www.webmasterworld.com/google_adsense/3066296.htm [webmasterworld.com] by jatar_k - 12:09 pm on Aug. 30, 2006 (pst -7)


My entire site is secure with only registered users able to view content.

I put the adsense script in my template, but now on each page of my site it gives me that annoying pop-up.

what am I supposed to do?

fredw

8:22 pm on Aug 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm just curious (not criticising). Why is your entire site secure?

I've done secure functions for web clients. In those instances, I only made the "checkout" page(s), where you enter monetary and personal info, a secure page. But the rest of the site was regular http.

Why does your entire site need to be secure?