Advertisement Management

adverts on 'No content' pages - Advertisement Management

adverts on 'No content' pages

by pollos » Fri Nov 17, 2017 7:05 pm

Before anyone falls foul of adsence 'No ads on pages with no content' policy, E.G. login, register pages, and UCP?? is there any way to restrict adverts on pages that don't have content??

Thanx.
My sig should go here... but I've nowt so say
User avatar
pollos
Registered User
Posts: 145
Joined: Wed Jul 30, 2003 7:44 pm
Location: Menorca
Contact:

Re: adverts on 'No content' pages

by pollos » Sun Nov 19, 2017 11:44 am

So I tested it, setup a slide-up ad with adsense code.

It took Google less than a day to send me .... "Your AdSense Publisher Policy Violation Report for pub-xxxxxxxxxxxxxxxx" Login page - No content.

So I ask again. Is there any way to restrict ads displaying on login and register pages and I guess users control panel and anywhere else there will be no content. If not then can I ask the developers to consider adding this, thanx.
My sig should go here... but I've nowt so say
User avatar
pollos
Registered User
Posts: 145
Joined: Wed Jul 30, 2003 7:44 pm
Location: Menorca
Contact:

Re: adverts on 'No content' pages

by VSE » Mon Nov 20, 2017 7:28 am

If this is a problem for you then for now I would just pick ad locations like the one's that are on pages with posts for your Google Ads.

Beyond that, this will have to be looked into in the future.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4710
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: adverts on 'No content' pages

by TomaGo » Tue Dec 12, 2017 7:22 pm

Hello,
I have got today the same "AdSense Publisher Policy Violation Report" because of the ads on the login page.

How could i disable the ads on the ucp.php page ?

Thanks :-)
TomaGo
Registered User
Posts: 71
Joined: Sat Jan 21, 2017 10:42 am
Contact:

Re: adverts on 'No content' pages

by pollos » Tue Dec 12, 2017 11:09 pm

I do not have google ads that will show on non content page. E.G. ad positions of header, footer, pop-up or slide up. But it would be nice to be able to include all ads in the header/footer. So if it could be looked into that would be great, thanx.
My sig should go here... but I've nowt so say
User avatar
pollos
Registered User
Posts: 145
Joined: Wed Jul 30, 2003 7:44 pm
Location: Menorca
Contact:

Re: adverts on 'No content' pages

by TomaGo » Wed Dec 13, 2017 2:57 pm

Hello,
Disable adsense on header and footer everywhere on the site is not a solution for me.

Could it be possible to add somewhere (in the acp where we put adsense code) something like this ? :

Code: Select all

<!-- IF not ucp-->
adsense code
<!-- ENDIF -->
Thanks

Thomas
TomaGo
Registered User
Posts: 71
Joined: Sat Jan 21, 2017 10:42 am
Contact:

Re: adverts on 'No content' pages

by TomaGo » Wed Dec 13, 2017 7:33 pm

Finaly i did it.

The goal was to stop displaying advertisement on the login and UCP pages to comply with the adsense rules.

In "forum/ext/phpbb/ads/styles/all/template/event"
Modify the files linked to the ads place you want to remove on UCP :

overall_footer_page_body_after.html
overall_header_page_body_before.html
overall_footer_after.html

Add this line at the begining of the files to say "Do not execute the code when on a login or UCP page"

Code: Select all

<!-- IF SCRIPT_NAME neq 'ucp' -->

Add this line at the end of the files
:

Code: Select all

<!-- ENDIF -->
Clear your browser and forum history / caches

Done :D
TomaGo
Registered User
Posts: 71
Joined: Sat Jan 21, 2017 10:42 am
Contact:

Re: adverts on 'No content' pages

by Senky » Mon Dec 18, 2017 7:50 am

TomaGo,
I am happy to hear that you temporarily solved the problem. Stay tuned, we will definitely include this feature in the future, because google ads are the most commonly used format and we want to support it fully.
Senky
Extension Customisations
Extension Customisations
Posts: 1785
Joined: Thu Apr 30, 2009 8:49 pm
Location: Slovakia
Name: Jakub
Contact:

Re: adverts on 'No content' pages

by TomaGo » Mon Dec 18, 2017 10:32 am

Thanks for your answer, we are waiting for this new release.

Regards
TomaGo
Registered User
Posts: 71
Joined: Sat Jan 21, 2017 10:42 am
Contact:

Re: adverts on 'No content' pages

by umarizal » Thu Jan 04, 2018 9:31 pm

Senky wrote:TomaGo,
I am happy to hear that you temporarily solved the problem. Stay tuned, we will definitely include this feature in the future, because google ads are the most commonly used format and we want to support it fully.
I am very happy to know that you are studying to implement new features to this wonderful extension.
EN: Do to others what you would want them to do to you.
ES: Haz a los demás todo lo que quieras que te hagan a ti.
PT: Faça aos outros o que você gostaria que fizessem a você.
User avatar
umarizal
Registered User
Posts: 170
Joined: Mon Mar 17, 2008 2:03 am
Location: São Paulo - SP - Brasil
Name: Leandro dos Santos
Contact:

Re: adverts on 'No content' pages

by jonthee » Fri Feb 02, 2018 12:35 am

Any news about the updated version with these functions implemented? =)
jonthee
Registered User
Posts: 72
Joined: Sun Jan 02, 2011 2:56 pm

Re: adverts on 'No content' pages

by Senky » Tue Feb 13, 2018 3:00 pm

Already implemented, just wait for next revision, it will include it.
Senky
Extension Customisations
Extension Customisations
Posts: 1785
Joined: Thu Apr 30, 2009 8:49 pm
Location: Slovakia
Name: Jakub
Contact:

Re: adverts on 'No content' pages

by umarizal » Tue Feb 13, 2018 4:16 pm

Senky wrote:Already implemented, just wait for next revision, it will include it.
:o You are the best! :D
EN: Do to others what you would want them to do to you.
ES: Haz a los demás todo lo que quieras que te hagan a ti.
PT: Faça aos outros o que você gostaria que fizessem a você.
User avatar
umarizal
Registered User
Posts: 170
Joined: Mon Mar 17, 2008 2:03 am
Location: São Paulo - SP - Brasil
Name: Leandro dos Santos
Contact:

Re: adverts on 'No content' pages

by jonthee » Fri Feb 16, 2018 4:20 pm

That's great news!

When do you think the next revision will be available for download? I am thinking about implementing the changes manually until then, but if the next release is just around the corner, I might as well wait =)

Best regards, have a nice weekend!
jonthee
Registered User
Posts: 72
Joined: Sun Jan 02, 2011 2:56 pm

Re: adverts on 'No content' pages

by VSE » Fri Feb 16, 2018 4:22 pm

Not any time soon... Could be month(s).
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4710
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact: