Archived topic
optimize google auto ads to increase UX
8 replies · Started by Mouse on November 11, 2020
I have set up google auto ads and I want to add (Advertisement) at the top and (Continue reading below) at the bottom.
Hi,
The use of Google Auto Ads gives you less control of where your ads will show up.
If you want full control over how and where your ads show up on your site, consider placing your ads manually on Hook Elements.
Read more on Hook Elements here: https://docs.generatepress.com/article/hooks-element-overview/
As for which hooks to use, you can refer to this documentation of which hooks to place your google ads.
https://docs.generatepress.com/article/hooks-visual-guide/
I added the code to add margin below for google ads
.adsbygoogle{
margin-bottom:10px !important;
}
Do you think that can bed done as well where I show advertisment at the top
Hi there,
can you share a link to your site so we can see the Ad at the top.
Sure adding the link in the private info.
You can check out the CSS where I added the margin. In the same way, I want to use 2 things Write "Advertisement" at the top of every ad.
And continue reading below ... below.
I am not seeing an advert on your home page?
I can see them in the content of your single posts. You can use this CSS to insert the 'labels' before and after that adverts:
.google-auto-placed::before,
.google-auto-placed::after {
content: 'Advertisement';
font-size: 14px;
padding: 20px 0;
display: block;
text-align: left;
}
.google-auto-placed::after {
content: 'Continue Reading';
}
Thankyou so much for showing me this.
You're welcome