Jakub Glodek
asked 6 years ago

Hello!
I am trying to setup an ad in the “Home Content” section that responds to the theme.
I tried to follow the directions here:
https://support.google.com/adsense/answer/3543893#adv
But it still is not responding.  Any tips?
 

3 Answers
Jakub Glodek
answered 6 years ago

I was able to resolve this by adding the following into responsive-custom.less:
.adslot_1 {
width: 728px;
height: 90px;
text-align: center;
}
@media (max-width: 774px) {
.adslot_1 {
width: 300px;
height: 250px;
text-align: center;
}
}
@media (min-width: 775px) and (max-width : 1079px) {
.adslot_1 {
width: 468px;
height: 60px;
text-align: center;
}
}

DominicStaff
answered 6 years ago

Please send me your site for further checking.

Jakub Glodek
replied 6 years ago

The site I am doing this on is nowy.polishclub.org. I put the following:



style=”display:block”
data-ad-client=”REMOVED”
data-ad-slot=”REMOVED”
data-ad-format=”auto”>

Here:

https://www.evernote.com/shard/s126/sh/887fd97c-552a-445c-8776-5a3e8c859e8a/f10cc5e56e67e49920b27c7945b3f7a1

Dominic Staff
replied 6 years ago

To have a closer overview of the ads on your site, please let us see your ads. We can’t use your own code to apply for our demo site. That’s bad idea, my friend.

Jakub Glodek
replied 6 years ago

I’m not understanding what you need. By seeing my ads, do you request access into my WP instance? If you go to http://nowy.polishclub.org you can see the ads. Here is an example:

https://www.evernote.com/shard/s126/sh/70c63228-0b54-494b-93a3-d2c82a98479e/725be4075287f05b387cf832513da9b4

Dominic Staff
replied 6 years ago

Sorry about that, I have checked your site and not found the Ads in your site: http://prntscr.com/4lqtxe. Please send me username & password of your site (via private answer), We will help you resolve it.
Regards,

Jakub Glodek
answered 6 years ago

Hi!  I sent in the details within a Private Message, but I never heard back.  Were you guys able to look at this?

Powered by DW Question & Answer Pro