Google AdSense reloading? - cookies

Please tell me something about Google AdSense:
1) Can i reload ads by myself without full-page-reloading? For example refresh AdSense frame or call some script?
2) About "interest-based advertising" that works around cookies. Can i influence on it for setting my own interest-keywords? How works this mode?
Thank you!!!

EDIT Oct 2014: See my note below the answer to the first question.
No. You cannot currently (December 2012) refresh ads without reloading the page.
AdSense Premiere accounts can do this (you can't apply for this program -- they will contact you about joining if you have hundreds of millions of pageviews per month only). There was an AdSense for AJAX beta program that did what you are talking about it, but it was cancelled.
Added Oct 2014 -- You can do this and stay in accordance with TOS by putting your AdSense in DFP units. DFP does have a call to refresh ads. See https://support.google.com/dfp_sb/answer/3058726?hl=en
I think you are saying you want to affect the genre/topic of ads on your site. You can do this to some extent by using the AdSense Section Targeting tags. You can use these tags in your page code to tell the AdSense scraper bot that certain parts of the content are more important or less important to the page. For example, if you had a site about how to write speeches, the content of the sample speeches you would provide on the site would be irrelevant to the user for ads. You would want ads to do with public speaking, writing, etc. If you had a sample speech about cars, you wouldn't want ads about cars on the page. So you would use section targeting to tell AdSense to ignore the sample speech itself.
You can't use this method to have ads on a topic completely separate from your page.
Read more here: http://support.google.com/adsense/bin/answer.py?hl=en&answer=23168

Related

Google Ad Manager adverts not showing on specific web page, but correct across rest of site

I've been running Google Ad Manager on a client's website - https://www.thewire.co.uk since 2012 without issue until July 2020 when suddenly adverts stopped appearing on the home page, though they still appear on the rest of the site. I did a deep dive into the issue at the time and could find not clear problem or solution. It's not been an issue for most of the last year, but now we need to resolve it.
What's odd is that the adverts appear if I visit the same page via a different URL, eg, https://www.thewire.co.uk/?foo=bar (query string is ignored by server) or https://www.thewire.co.uk/home/ (this is serving the same page from a different uri)
All the adverts we serve are line items we load up to Ad Manager directly - we don't use adsense. We have some in house adverts running which are set to deliver when specific slots aren't loaded, so for instance there is a leaderboard at the top of every page which should always have an advert. MPUs on the right hand column are set to collapse if no advert is picked.
When I check delivery using Ad Manager debug tool I am informed adverts are delivering correctly, and the adverts show. But in normal viewing it is not.
This is happening consistently across browsers, devices and with/without ad blockers installed, and on 'vanilla' systems running on new ISP networks across several countries, which I believe counters out any limits that may be created by cookies and IP addresses or location.
I've scoured the Google Ad Manager settings in case some form of serving block was in place, but I've found nothing, and no notifications of any limitations on our home page URL, so I'm completely stumped as to why.
I've checked the google tags and embed codes on our site and they are all OK - they are pulled from a template which is used consistently across the site, and they obviously work when I look at the same HTML via a different context, which leads me to believe the issue is some blocking in place for the specific https://www.thewire.co.uk url from Google's side.
Has anyone had any similar issue and have advise on how to resolve or able to point me to somewhere in google I can get specific support for this issue? Searches through help and the support forums have turned up nothing.
There are numerous work arounds I could apply (eg an http 301 or 302 redirect / to /home/ ) but I really want to solve the problem, not work round it only for it to arise again.
There's a previous topic on StackOverflow - Google Ads not showing on my home page - but that shows no resolution. So posting this maybe the same issue in case my necromancy on that doesn't work. The solutions linked in the comments on that post are either outdated or don't work.

YouTube and GDPR compliance for videos embebed on website

I came to know even embedding of youTube videos on website are also affected by GDPR law, even for this we need user consent. There is not much i can find on the internet how to make embedding of youtube videos GDPR compliance and how we can take user consent for this.
After digging for few days i found following link which say how we can use
https://foliovision.com/support/fv-wordpress-flowplayer/requests-and-feedback/youtube-and-gdpr
following link from google allow us to use it in no cookie option but is this compliance with GDPR https://www.youtube-nocookie.com/embed/MjZxCbMQmXg
Is there any easy way of getting user consent for all such as third party tools etc.
I'm currently working with a very similar issue.
The solution I have working so far is like this:
Install Cookie Consent Plugin from https://privacypolicies.com/cookie-consent/ and configure it
Wrap Youtube embeds with this sort of PHP:
if (isset($_COOKIE['cookie_consent_level']) &&
$_COOKIE['cookie_consent_level'] == "targeting-cookies") {
// If we are allowed to use targeting cookies,
// include the Youtube/FB/Google code.
print $youtube_embed_code;
print $google_retargeting_code;
print $facebook_pixel_code;
}
What that provides is code load on second page view (within 12 month window). If your default cookie setting is the most liberal, eg targeting-cookies, then all subsequent page views on your site for that visitor will include the appropriate embeds.
I'm close to getting something working on first page load, after approval is sought, but not quite there yet.
This plugin helped: http://wordpress.org/plugins/youtube-embed-plus/
Improved GDPR compliance options: YouTube no cookie, YouTube API restrictions, GDPR consent mode
To see how it works, without having to first download the plugin, I suggest watching this video: https://www.youtube.com/watch?v=lm_HIic6obw
Basically, there's a "preload" message displayed until the site visitor accepts the YouTube.com connection and cookies.

Google Analytics in footer file

I have a question about how Google Analytics tracks pages in a Wordpress site or any other site that uses a template file to include the code for Google Analytics in the footer or header. Since the file is generated and used in all the pages, that would mean that the analytics code is counting all the pages that are viewed correct? Also, is it possible to view what pages are getting hits and have a more detailed report in Google Analytics? I just have a feeling that the page i'm tracking is displaying inaccurate reports since the same code is used on every page. Can anyone help clear this up and educate me a bit on this topic?
The code is always the same, it loads in the footer so you dont have to put it on every single page.
in the code there is a unique code for your website so analytics knows wich analytics account needs to get the information.
The code dosn't need to be changed everypage.
You can see the pageviews like this:
-->google analytics
--->contents
-->Site content
-->all pages
Now you get a list with urls and the page view for every url
You can sort the list by pageviews (how many times is the page loaded) and unique page views(How many uniqe ip addresses have visited the page.).
You can also find bounce rate wich shows how many % of the users left you site on that page.

Is there a way to track our website activity from our Facebook fans clicking link on our page?

We just started an advertisement with Facebook and are curious if there is a way to track who has visited our website by clicking our website link on our Facebook page? I am very pleased with all of the ways to track the performance of our ad on Facebook and want to see if people are not only 'liking' our page, but visiting our website to learn more about us. Any information would be helpful :)
This is our website if you need to look into it further:
http://drkennethlevine.webs.com/
I don't know how much you can change about your website or how it is built. However there is a way to track where the users who visited your page from. Use the http reffer field.
In php (and probably in most other languages) you can get the refer link by using
$_SERVER['HTTP_REFERER'];
The refer field contains the last page visited by the user.
Simply count the number of users that are surfing from your facebook page to your website.
You can use $_SERVER['HTTP_REFERER']; as mentioned by #fake, or simply use Google Analytics, which will provide you a lot of statistics for free, including referers, stats by browsers, countries...
All you have to do is create a GA account, and link your website to your account (you'll have a few javascript lines to add in your footer for it)

Is there a setting on Google Adsense to suppress use of cookies for users who have not yet given consent

Update: I have split my original question into two to let each one be more cohesive.
According to EU Article 5(3) of the E-Privacy Directive (a.k.a 'The Cookie Laws'), web sites that target EU users have to gain opt-in consent from users before they set a cookie.
See ICO Guidence
I am trying to square this with Google Adsense on my web site.
I would imagine that Google Adsense can serve ads without having to set cookies.
However, I cannot find any info on this (on the Google sites/settings panels) about how to relay information about the 'state of consent' back to Google during a page request. So, my only option seems to be that I should not embed Google tag code at all if the user has not explicitly given consent. Which seems a bit drastic.
Letting my serverside script set a 'hasConsentedToCookies=FALSE' flag in the JavaScript tags would allow me to instruct Google's services to run in a gracefully degraded fashion.
Is there a setting on Google Adsense to suppress use of cookies
for users that have not yet given consent?
If so, where can I find info on this?
No, there isn't a setting in Google AdSense. Google actually just released a note about changes to the consent policy in July 2015 pointing you to a Google site called Cookie Choices, which has information about EU consent as well as links to third party solutions for managing cookie consent functionality on your sites.
So the short answer is that you need to explore the third party tools and choose the one that best addresses your particular case.