AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
2.9K members online now
2.9K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

Adwords Remarketing Errors

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

@"<script type="text/javascript"> var google_tag_params = { ecomm_prodid: ["GNS0014","T11P6"], ecomm_pagetype: "thankyou", ecomm_totalvalue: [2032.0000,1500.0000], }; </script> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 963344034; var google_custom_params = window.google_tag_params; var google_remarketing_only = true; /* ]]> */ </script> <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/963344034/?value=0&amp;guid=ON&amp;script=0"/> </div> </noscript>"

 

This is my Adwords Remarketing code

 

I got below errors. If any one knows these error tell me.. Waiting for your reply...

 

Errors :- i). Missing line breaks may cause issues.

             ii). To validate please enter the feed ID

 

2 Expert replyverified_user

Re: Adwords Remarketing Errors

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆

Hi @Vangaveti H,

 

Welcome to the community!

 

Try to replace your code with the one below:

--------------------------------------------------------------------------

 

Code modified to enable these features<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxx-y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src=('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>

 

--------------------------------------------------------------------------

 

This is called "asynchronous JavaScript" and optimizes the way ga.js loads. Display Features only works with the code.

 

I have raised this question earlier in the forum so you may like to take a look:

https://www.en.adwords-community.com/t5/Tracking-Reporting/Which-traditional-ga-js-code-is-enabled-t...

 

Hope this helps!

 

Thanks,

Jason

Re: Adwords Remarketing Errors

Top Contributor
# 3
Top Contributor
Hey Jason,

The two scripts, the one posted by the OP and the one you posted. The script you posted is for Google Analytics tracking. The OP posted the AdWords conversion code. They have different purposes.

Vangaveti H,

Try this article and see if it helps: https://support.google.com/adwords/answer/3103509?hl=en

Best of Luck!

Pete

petebardo -- Deadhead doing AdWords

Re: Adwords Remarketing Errors

Google Employee
# 4
Google Employee
Other than the fact that "thankyou" is not one of the recommended values for ecomm_pagetype (you should probably use "purchase" instead), everything is fine.