I'm trying to use Google Adsense page level ads for mobile viewers.
I implemented the Google code in /layout/blocks/head.php as you recommended in the forum.
In Google preview http://czpz.org#googleads it seems that work and I can see page level ads on mobile.
But in http://czpz.org there are no ads.
This is the part of head.php
?>
<!--[if IE 9]>
<link rel="stylesheet" href="<?php echo $this->API->URLtemplate(); ?>/css/ie/ie9.css" type="text/css" />
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $this->API->URLtemplate(); ?>/css/ie/ie8.css" type="text/css" />
<![endif]-->
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php echo $this->API->URLtemplate(); ?>/css/ie/ie7.css" type="text/css" />
<![endif]-->
<!--[if lte IE 9]>
<script type="text/javascript" src="<?php echo $this->API->URLtemplate() . '/js/ie.js'; ?>"></script>
<![endif]-->
<!--[if (gte IE 6)&(lte IE 8)]>
<script type="text/javascript" src="<?php echo $this->API->URLtemplate() . '/js/respond.js'; ?>"></script>
<script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6137536926055483",
enable_page_level_ads: true
});
</script>
<?php
if(
JRequest::getCmd('option') == 'com_config' ||
(
JRequest::getCmd('option') == 'com_content' &&
JRequest::getCmd('layout') == 'edit'
)
) {
$doc = JFactory::getDocument();
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap.min.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap-responsive.min.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/bootstrap-extended.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/icomoon.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/jui/css/chosen.css');
$doc->addStyleSheet($this->API->URLbase() . '/media/media/css/mediamanager.css');
}
// EOF
What can I do to start ads?
Thanks in advance