WebSite X5Help Center

 
Manolis L.
Manolis L.
User

Google adsense code in pages  en

Author: Manolis L.
Visited 2994, Followers 1, Shared 0  
Tags: adsense,code

How can I insert google adsense code in my pages? The html code box does not seem to work...it is like the code is never added!

My website:

http://www.mega-labs.com

Posted on the
10 ANSWERS - 1 USEFUL
John P.
John P.
User

Hello Manolis

I’m not familiar with adsense, but if it is javascript you may have to add code in the <head> along with some code in the <body> of all HTML pages.

John

Read more
Posted on the from John P.
Manolis L.
Manolis L.
User
Author

Hi John,

Thanks for your answer. It is not javascript I think. I tried to add it to the <head> but it does not work as well.

Read more
Posted on the from Manolis L.
Der Zwoemti
Der Zwoemti
Moderator

First js file ... 

Read more
Posted on the from Der Zwoemti
Der Zwoemti
Der Zwoemti
Moderator

delete in step 1

<meta http-equiv="Expires" content="0" />
<meta name="Resource-Type" content="document" />
<meta name="Distribution" content="global" />
<meta name="Robots" content="index, follow" />
<meta name="Revisit-After" content="21 days" />
<meta name="Rating" content="general" />

_________________________________________________

look here 

https://developers.google.com/custom-search-ads/docs/implementation-guide

Read more
Posted on the from Der Zwoemti
Manolis L.
Manolis L.
User
Author

Hi and thanks for the answer,

Sorry but I cannot get it to work. If I paste the code to the expert field at the <HEAD> section, it does not work. I would like to be able to put the code wherever I want in several pages of the website.

Thanks in advance!

Read more
Posted on the from Manolis L.
Incomedia
Claudio D.
Incomedia

Hello Manolis,

You can use the "HTML & Widget Object" in step 3 to add the code in different palces on your project.

If you require any further information, please feel free to write b

Read more
Posted on the from Claudio D.
Manolis L.
Manolis L.
User
Author

Hello Claudio,

This is what I did but the adsense code does not work Undecided

Read more
Posted on the from Manolis L.
Incomedia
Claudio D.
Incomedia

Hello Manolis,

Unfortunately I cannot help you with custom code. Try to follow the procedure described by google adsense to see where to add it. If it's in the HEAD you can add it in Step 1 - Expert - if you have to add in in the content you can use the HTML&Widget Object in step 3.

Many thanks!

Read more
Posted on the from Claudio D.
Manolis L.
Manolis L.
User
Author

Hi Claudio,

If using the HTML&Widget; Object it does not work at all. I wonder if all users have the same problem, because there has to be some way it will work.

Read more
Posted on the from Manolis L.
Incomedia
Claudio D.
Incomedia

Hello Manolis,

Can you please post a link to a page where you added the adsense code to see the html code of the generated page?

Many thanks!

Read more
Posted on the from Claudio D.