WebSite X5Help Center

 
Manolis L.
Manolis L.
User

Google adsense code in pages  en

Auteur : Manolis L.
Visité 3441, Followers 1, Partagé 0  
Mots-clés :: 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

Posté le
10 RéPONSES - 1 UTILES
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

Lire plus
Posté le de John P.
Manolis L.
Manolis L.
User
Auteur

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.

Lire plus
Posté le de Manolis L.
Der Zwoemti
Der Zwoemti
Moderator

First js file ... 

Lire plus
Posté le de 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

Lire plus
Posté le de Der Zwoemti
Manolis L.
Manolis L.
User
Auteur

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!

Lire plus
Posté le de 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

Lire plus
Posté le de Claudio D.
Manolis L.
Manolis L.
User
Auteur

Hello Claudio,

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

Lire plus
Posté le de 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!

Lire plus
Posté le de Claudio D.
Manolis L.
Manolis L.
User
Auteur

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.

Lire plus
Posté le de 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!

Lire plus
Posté le de Claudio D.