JaroslavH Posted June 25, 2013 Share Posted June 25, 2013 Hi all, I have PrestaShop 1.5. I used this module: http://www.inmotionhosting.com/support/edu/prestashop-15/322-install-adsense Everything works well. Banner Advertising is only one. How do I add more. Thanks for the advice. Thanks JarynH Link to comment Share on other sites More sharing options...
JaroslavH Posted June 25, 2013 Author Share Posted June 25, 2013 For example, there are three banners http://www.agenceviaweb.com/en/free-prestashop-modules/102-google-adsense-v11-par-prestashop.html Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 you can use other modules to put adsense code, for example html box or content box, these modules are absolutely free, with them you can put any code into the most important places in your store (for example columns, footer, top etc.) Link to comment Share on other sites More sharing options...
JaroslavH Posted June 25, 2013 Author Share Posted June 25, 2013 Hi, Thank you for your idea. I uploaded htmlbox to folder .../modules In the administration I don't see module htmlbox. I uploaded ContentBox to folder .../modules In the administration I see this modul. Bohužel neumí java script. Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 don't upload it via FTP - just install it in the back office in the modules section, read this guide: http://doc.prestashop.com/display/PS15/Managing+Modules+and+Themes#ManagingModulesandThemes-Installingmodules Link to comment Share on other sites More sharing options...
JaroslavH Posted June 25, 2013 Author Share Posted June 25, 2013 Thanks. Already it works. This way I can install the module several times and get more boxes? Link to comment Share on other sites More sharing options...
JaroslavH Posted June 25, 2013 Author Share Posted June 25, 2013 Hi, i have other problem. in HTMLbox configuration I added this javascript: <script type="text/javascript"><!-- google_ad_client = "...I deleted this ID..."; /* Google AdSense 250x250 */ google_ad_slot = "8356209241"; google_ad_width = 250; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> HTMLbox on my website wrote this error: The webpage cannot be found HTTP 400 Most likely causes: •There might be a typing error in the address. •If you clicked on a link, it may be out of date. What you can try: Retype the address. Go back to the previous page. Go to and look for the information you want. More information This error (HTTP 400 Bad Request) means that Internet Explorer was able to connect to the web server, but the webpage could not be found because of a problem with the address. For more information about HTTP errors, see Help. If you insert a normal HTML code, everything works. For example: <div class="block"><br/> <h4>advertising</h4>... Link to comment Share on other sites More sharing options...
HETPE3B Posted June 30, 2013 Share Posted June 30, 2013 Hi, i have other problem. in HTMLbox configuration I added this javascript: HTMLbox on my website wrote this error: The webpage cannot be found HTTP 400 Most likely causes: •There might be a typing error in the address. •If you clicked on a link, it may be out of date. What you can try: Retype the address. Go back to the previous page. Go to and look for the information you want. More information This error (HTTP 400 Bad Request) means that Internet Explorer was able to connect to the web server, but the webpage could not be found because of a problem with the address. For more information about HTTP errors, see Help. If you insert a normal HTML code, everything works. I got same problem. Can display normal HTML code, but can not display Adsense script: Invalid address You tried to access the address http://googleads.g.doubleclick.net/pagead/ads?format=0x0&output=html&lmt=137262.... Link to comment Share on other sites More sharing options...
vekia Posted June 30, 2013 Share Posted June 30, 2013 is there any chance to check your website? if so, paste the url Link to comment Share on other sites More sharing options...
HETPE3B Posted June 30, 2013 Share Posted June 30, 2013 (edited) is there any chance to check your website? if so, paste the url It is located in the right column in the bottom. For some reason I can see this box only in Opera. IE10 doesn't reflect it for some reason. http://www.bestpixelrepair.com/ Adsense module is working fine (located on the left column in the bottom). Edited June 30, 2013 by HETPE3B (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2013 Share Posted July 1, 2013 i checked your website, for me it isn't working too (chrome) if it is possible - remove all comments from code that you use by comments i mean: /* */ Link to comment Share on other sites More sharing options...
JaroslavH Posted July 1, 2013 Author Share Posted July 1, 2013 Hi, Google AdSense offers two options for code (synchro / async) I used async (BETA) and everything works for me. Asynchronous contains comments. I therefore agree with the vekia. Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 Hi, Google AdSense offers two options for code (synchro / async) I used async (BETA) and everything works for me. Asynchronous contains comments. I therefore agree with the vekia. With synchro, the adsense needs to load on everypage, which can make your website slower if the googleadsense is taking too long to load. Asynchronous means the page will load first, regardless of googleadsense loading/tracking. Link to comment Share on other sites More sharing options...
HETPE3B Posted July 1, 2013 Share Posted July 1, 2013 (edited) i checked your website, for me it isn't working too (chrome) if it is possible - remove all comments from code that you use by comments i mean: /* */ I did remove the comments. I was able to find only one /* and one */ in the code. Doesn't do any difference. Edited July 1, 2013 by HETPE3B (see edit history) Link to comment Share on other sites More sharing options...
HETPE3B Posted July 1, 2013 Share Posted July 1, 2013 Hi, Google AdSense offers two options for code (synchro / async) I used async (BETA) and everything works for me. Asynchronous contains comments. I therefore agree with the vekia. I just tried asynchronous - and it did work fine for me! Thanks!!! Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2013 Share Posted July 1, 2013 i checked your website and you've got right, now it works well - block loads asynchronously. Im convinced that this tip (to use asnychronous) will help for many other merchants (i saw several posts related to this case) thanks again! Link to comment Share on other sites More sharing options...
benjamin utterback Posted July 1, 2013 Share Posted July 1, 2013 Hi vekia, Does the other option (syncho) work with PrestaShop, is that the option that causes problems? Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2013 Share Posted July 1, 2013 i created simple html file with code with google adsense advert widget and for me it also didn't work. It worked only when i turned on async. method. So i think that this isn't related to the prestashop issues. (something goes wrong on google side? LOL?) Link to comment Share on other sites More sharing options...
Arminder Singh Posted September 15, 2013 Share Posted September 15, 2013 Kindly attention Mr. Vekia .... Google adsence and html box box not working in my module to place adsence code ? Kindly help and send a link for content box . Link to comment Share on other sites More sharing options...
vekia Posted September 15, 2013 Share Posted September 15, 2013 Kindly attention Mr. Vekia .... Google adsence and html box box not working in my module to place adsence code ? Kindly help and send a link for content box . contentbox is located on external service (contentbox [dot] org) may i know why it doesn't work? as far as i remember, you have to configure adsense first (on google side) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 16, 2013 Share Posted September 16, 2013 Kindly attention Mr. Vekia .... Google adsence and html box box not working in my module to place adsence code ? Kindly help and send a link for content box . Hi Arminder, what is the issue you are having? There is a SOLVED post regarding content box here, http://www.prestashop.com/forums/topic/269624-solved-contentbox-problem-with-1541/ Please be more specific with your error and we can help better. Thank you! Link to comment Share on other sites More sharing options...
vekia Posted September 16, 2013 Share Posted September 16, 2013 in addition to what Benjamin said, can you show how your adsense code looks like after "save" ? Link to comment Share on other sites More sharing options...
kunglao Posted June 19, 2014 Share Posted June 19, 2014 hello I'm trying to insert in box for google adsenseI installed the moduleand copied the code provided by goolebut an error occursyou check and tell me how to solve?thanksMy Websitewww.askmetobuy.com Link to comment Share on other sites More sharing options...
dtfmx Posted July 7, 2014 Share Posted July 7, 2014 so the best answer would be to install htmlbox or contentbox with async in prestashop 1.6.x.x ? Link to comment Share on other sites More sharing options...
dtfmx Posted July 7, 2014 Share Posted July 7, 2014 thanks for helping us out here in order to install more than 1 ad in prestashop 1.6.x.x with htmlbox or contentbox Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2014 Share Posted July 8, 2014 well, htmlbox or contentbox are a solution if you have to use some custom code (widget codes etc.) these modules will allow you to add some contents to your website in some cases you have to be sure that code that you will use will work, for example, if code includes some libraries (js/css) you must check if these libraries exist Link to comment Share on other sites More sharing options...
dtfmx Posted July 8, 2014 Share Posted July 8, 2014 Dear Vekia, I have the following codes: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- FooterAd --> <ins class="adsbygoogle" style="display:inline-block;width:468px;height:15px" data-ad-client="ca-pub-9325087057698481" data-ad-slot="2620316657"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> AND <script type="text/javascript"><!-- google_ad_client = "ca-pub-9325087057698481"; /* FooterAd */ google_ad_slot = "2620316657"; google_ad_width = 468; google_ad_height = 15; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script> The URL is http://www.DesbloqueaTuFon.com ¿Can you please tell me if the insertion of the code was correctly set up with htmlbox ? Thank you, Link to comment Share on other sites More sharing options...
DailyFresh Posted January 9, 2015 Share Posted January 9, 2015 Hi ... I need help with AdSense... Ver - 1.6.09 I tried all above... HTMLbox .. Google Adsense module ... contentbox and I cannot get it to display on the source code I can see that the adsense box is there (footer). shop site is www.yourdailyfresh.com Help will be highly appreciated. Thanks, Link to comment Share on other sites More sharing options...
tokobukutaro Posted March 4, 2015 Share Posted March 4, 2015 (edited) hi I use Contentbox and paste code from Google Ad after install the module, in my web still appear in html code ? whats wrong , using Prestashop ver 1.6.0.12 Edited March 4, 2015 by tokobukutaro (see edit history) Link to comment Share on other sites More sharing options...
andrescatano Posted April 24, 2015 Share Posted April 24, 2015 I have tried with with htmlbox or contentbox, but always change the code, I do not why . Please how to fixe it. Thank you From <script async src="/xxxxs"></script><!-- xxxx--><ins class="adsbygoogle" style="xxxk" data-ad-client=xxxx" data-ad-slot="x data-ad-format="auto"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script> To this <script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- xxxx --> <ins class="adsbygoogle" style="display: block;"xxxxx" data-ad-slot="9943466541" data-ad-format="auto"></ins><script>// <![CDATA[ (adsbygoogle = window.adsbygoogle || []).push({});// ]]></script> Link to comment Share on other sites More sharing options...
Bari Square Posted May 17, 2015 Share Posted May 17, 2015 I have same issue .. no luck Link to comment Share on other sites More sharing options...
Recommended Posts