Google Remarketing Tag Not Validating - google-ads-api

I've implemented Google Remarketing code on a client's site but it's getting an unspecified critical error in the Chrome Tag Assistant plugin. I'm sure I've followed the instructions on how to setup the custom variables correctly. Can anyone see what I've done wrong or shed some light on how to find out what the 'critical error' is?
Here is a code sample -
<script type="text/javascript">
var google_tag_params = {
ecomm_prodid: "IS-FRE-FFA",
ecomm_pagetype: "product",
ecomm_totalvalue: 19.95};
</script>
/*Rest of the Google suppplied code*/
There are lists in the associated Google Adwords account and it says "We haven't detected the AdWords tag on your website" for the Remarketing Tag details box above the lists.

Without seeing the actual page it is hard to be sure - your code snippet looks ok here, but there could be other errors in the rest of the code. If you could paste the full tag you're using or the site where we can see it in situ that would help diagnose it.
Either way, sometimes the Tag Assistant plugin gets confused by other javascript errors on the page - there are some more details on how to validate that the remarketing tag is working correctly at https://developers.google.com/adwords-remarketing-tag/verification

Related

Implementing Google Adsense with Rails 6

I have followed the advice on the google adsense website instructing me to add the following code within the tag of my pages.
<script data-ad-client="ca-pub-64xxxxxxxxxxx" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
I have implemented this by adding it to my application.html.erb file.
Having deployed this to Heroku when I first load the page I get the following console error:
googleads.g.doubleclick.net/pagead/ads?guci=1.2.0.0.2.2.0.0&client=ca-pub-64xxxxxxxx Failed to load resource: the server responded with a status of 403 ()
I suspect that I may have to wait for the ads to start propagating despite having a validated site but I have a second problem:
Then after navigating to a different page on my site I get:
adsbygoogle.js:72 Uncaught P {message: "adsbygoogle.push() error: Only one AdSense head tag supported per page. The second tag is ignored.", name: "TagError", pbr: true, stack: "TagError: adsbygoogle.push() error: Only one AdSen…lesyndication.com/pagead/js/adsbygoogle.js:238:39"}
I haven't duplicated the code in my tag but I was wondering if this was a feature of turbolinks.
My site is verified and I have enabled auto ads but I think there is problem relating to my implementation. Does anyone have experience of implementing google ads in Rails 6 applications with turbolinks 5?
403 Issue
I think you are right. It takes time to propagate. If it persists over couple of days - then there is something else. Are you still getting this error?
Only one AdSense head tag supported per page error
ThIt might be related to some framework feature, yes. But this error is harmless overall, it doesn't affect serving of ads. When you say "navigating to a different page" - do you know if it reloads the page or just updates html without reloading? If it's the latter then when the framework fetches second page and renders it - it's likely that page also has an adsbygoogle.js tag. Given that page is not reloaded - the old adsbygoogle.js tag is still loaded and you get this error.

Google App Maker, importing and opening an existing web page onLoad

A newbie is trying to import the following existing URL with curriculum changes. The page needs to open onLoad, instead of user clicking.
So far, I have tried:
Link widget - only works, when one clicks on the link. Does not suit.
HTML widget - throws an error.
Fixed panel. Thought it was analogous to iframe. It isn't.
Tried adding a script
function openWebsite() {
window.open('http://www.2vsk.liepaja.edu.lv/Stundu_izmainas2.php','_blank');
} No errors, but the screen is blank.
Should anyone bother with embedding an existing website, Google provided the following solution.
https://developers.google.com/appmaker/samples/html-iframe/
My case is a miss, since, as Google supports replied, the website has to have SSL certificate which my organization doesn't have.

Link Sleuth - How to show origination page of broken external links

I'm using Link Sleuth to find broken external links on our site. It does a great job only I cannot figure out how to get it to show which page the links originate from.
The report provides the broken link but not the page where it lives. Am I missing something simple?
Found it. Select a resulting external link and hit Alt + Enter

where can I find all the methods of UIATarget class?

I used to consult Apple Developer page "UI Automation JavaScript Reference for iOS" but now the page redirects to a search page of apple that I cant find any information that was provided on the reference I want. I also google my doubts and all the results redirects me to the page that doesnt exist anymore. Does anyone know where can I consult all the methods of UIATarget class?
The page Im referring is https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIATargetClassReference/
There is a saved copy of this page from July 2012 at archive.org:
https://web.archive.org/web/20120523220502/http://developer.apple.com/library/ios/#/web/20120606031156/http://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIATargetClassReference/UIATargetClass/UIATargetClass.html
It seems like UI Automation was probably replaced by Javascript for Automation (JXA) around Yosemite.

duplicate url+content generation problem

In my current site I have a link in the header section for skype, Gtalk, MSN chat, by clicking on the link the chat application get launched.
The problem is that, the link uses a href tag. and by doing this the SEO process is facing problem as there is some duplicate url have been created. In SEO process if different URLs have the same content the process not works.
Any suggestion from coming out from this problem.
One simple way to remedy this is add this adding a element with the attribute rel="canonical" to the section of the non-canonical version of the page.
More information please go to http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=139394
make them js url (with the js function in an external script)

Resources