Archived topic
Adsense In-feed AD not work
13 replies · Started by YU on January 11, 2019
I want to put Adsense In-feed AD on my site.
but it shows that "AdSense ad is placed in a container that has a float CSS rule and therefore won’t show up since AdSense can’t determine the available size. Your theme developer should know how to fix it."
Hi there,
Which element are you trying to add it to?
I want to add in-feed AD in my Home page.
I am not clear that about your question.
Where on your homepage exactly? Inside the content area? The error is saying it's inside a floated element, so we need to know which element that is so we can tell it not to float if necessary.
in the container
https://i.imgur.com/MRXmsJM.png
Hmm, I've never seen that issue before.
I suppose you could try adding this CSS:
.generate-columns {
float: none;
}
However, the columns use Flexbox by default, so the existing float value doesn't even apply.
Are you placing the ads inside each column?
Still not work :
The following responsive AdSense ads are not showing up
You will see this warning if an AdSense ad is placed in a container that has a float CSS rule and therefore won’t show up since AdSense can’t determine the available size. Your theme developer should know how to fix it.
Are you adding the ads inside each individual white box? Or somewhere else?
I don't know.
I don't understand coding.
So I use Advanced Ads which is a plug-in on wordpress.
What happens if you place a regular Adsense ad into the plugin? Does it display?
I've never heard of/experienced this issue before, so I'm just trying to understand where the issue is so we can solve it :)
It display normally
Do the in-feed ads work if you disable columns in "Customize > Layout > Blog"?
Sorry for all the questions - just trying to debug things one thing at a time.
I don't want to disable columns
I use your theme because of the columns feature.
So do you have any answers or solutions to help me?
Hi there,
Tom is just trying to diagnose the problem, if you can test it by disabling columns and let him know if it works it will help him to debug. Once tested you can put columns back again.