Jump to content

How does one Insert the adsence code, into an html file?

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- Valice --><ins class="adsbygoogle"     style="display:block"     data-ad-client="ca-pub-1425520744475435"     data-ad-slot="3693156100"     data-ad-format="auto"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
 

 

 

Link to comment
https://linustechtips.com/topic/352654-html-how-to-insert-adsence/
Share on other sites

Link to post
Share on other sites

nvm. just put it as it is inside the

<html><body><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- Valice --><ins class="adsbygoogle"     style="display:block"     data-ad-client="ca-pub-1425520744475435"     data-ad-slot="3693156100"     data-ad-format="auto"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></body></html> 

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to post
Share on other sites

 

nvm. just put it as it is inside the

<html><body><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- Valice --><ins class="adsbygoogle"     style="display:block"     data-ad-client="ca-pub-1425520744475435"     data-ad-slot="3693156100"     data-ad-format="auto"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></body></html> 

blank page hmm

 

 

 

Link to post
Share on other sites

blank page hmm

are you using a web page editor ? if so there should be an insert html button. just past the code as it is. if not. let me look back in my notes from last year .... I don'T know scripts by heart as I haven't done much

 

 

nvm

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to post
Share on other sites

are you using a web page editor ? if so there should be an insert html button. just past the code as it is. if not. let me look back in my notes from last year .... I don'T know scripts by heart as I haven't done muchi think this is problem.

 

"Once our system detects that the code has been placed on a live page, we will automatically review your websites with the ad code. It typically takes 2-3 days for our specialists to complete the review. Once your application is fully approved (you will receive a message about this), the ads will start showing."

This isn't in actual website, just .html  files be opened occasionally, for my web design class

 

 

 

Link to post
Share on other sites

ok .. your missing a part  you need a scr to get the actual adsense page.  the <script> actually goes in the body.   you do need the scr to get the page of the ad.

take a look at the last <script> on this picture  : 

 

https://lh3.ggpht.com/Kjp2TXoSLMHIZqKE8m5XK-_Xk5bcnr8tbkWgFdIHMtMcYD_zcfoHEJm1ZsZnOjH85HjebRFltw=w600

~New~  BoomBerryPi project !  ~New~


new build log : http://linustechtips.com/main/topic/533392-build-log-the-scrap-simulator-x/?p=7078757 (5 screen flight sim for 620$ CAD)LTT Web Challenge is back ! go here  :  http://linustechtips.com/main/topic/448184-ltt-web-challenge-3-v21/#entry601004

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×