- This topic has 28 replies, 3 voices, and was last updated 3 years, 10 months ago by David.
-
AuthorPosts
-
June 9, 2020 at 5:08 am #1320470Abdul
Hi,
I have enabled Auto Ads in Adsense. But I don’t see any Ads in the website using desktop. In Mobile I see some small banners here and there. Should I add the Adsense code manually to the theme so that it gets displayed in the home page and posts?
I also need to add an Ad block in the right sidebar. I did insert an Ad Inserter block in the sidebar but I don’t see any Ads.
Also how to change the background color of the the featured posts element ?
Thanks
June 9, 2020 at 9:15 am #1320913DavidStaffCustomer SupportHi there,
you can add your ad scripts manually to the theme.
The best way is to use the Widget Areas or the GP Hook Element:https://docs.generatepress.com/article/hooks-element-overview/
To remove the orange widget background – go to Customizer > Additional CSS and delete this:
.sidebar .widget:first-child { background-color: #e86000; color: #fff; }
June 9, 2020 at 12:17 pm #1321164AbdulHi,
I have added an Element and inserted my Ad script in the wp_head. Will wait for sometime to see if the ads are getting displayed or not.
To remove the orange widget background – go to Customizer > Additional CSS and delete this:
.sidebar .widget:first-child {
background-color: #e86000;
color: #fff;
}I did the above and it removed the posts too and I have an empty element right now. I just want to remove that background color and still have the Featured post. How to do that ?
June 9, 2020 at 12:46 pm #1321213Abdulthat featured post element is there and the posts are there too, but the font is in White right now due to which it looks empty. can you please let me know how to change the font color to Black ?
Thanks
June 9, 2020 at 12:50 pm #1321218AbdulGot it myself. Updated the color to Black and now the posts are visible in the element.
Thanks
June 10, 2020 at 12:38 am #1321627DavidStaffCustomer SupportGlad to hear you found the solution.
June 10, 2020 at 2:49 am #1321770AbdulThe Adsense Ads are still not displayed in the website. I thought it would take some time and waited till now but still it is not working. I don’t see any ads in my website. can you please help me to fix it.
June 10, 2020 at 3:36 am #1321832DavidStaffCustomer SupportI am seeing this error in the developers tools console:
TagError: adsbygoogle.push() error: Only one 'enable_page_level_ads' allowed per page.
Have you added the code more then once ?
June 10, 2020 at 3:47 am #1321841AbdulNo, I had first enabled Auto Ads which was not working properly. so I manually added the code by adding it in the element (only once)
can you please help me to fix it.June 10, 2020 at 4:11 am #1321862DavidStaffCustomer SupportI can see two codes being added to the site.
Do you have any plugins related to adverts ? If so can you disable themJune 10, 2020 at 4:24 am #1321878AbdulYes. I had the Ad Inserter which I have disabled and deleted it now.
June 10, 2020 at 4:51 am #1321908DavidStaffCustomer SupportThe site is still showing an error that 2 x scripts are being loaded.
Are you adding scripts using your Google Tag Manager ? Or any other method ?If not then delete the Hook Element and let us know.
June 10, 2020 at 4:57 am #1321916AbdulNo I am not adding through anything else. I have now deleted the element. Right now the only thing enabled is through Google Auto ads.
June 10, 2020 at 5:26 am #1321947DavidStaffCustomer SupportI thought you had already disabled auto ads ?
Can you remove that entirely so i can then check that NO ad scripts are running.Then we can look at the options.
June 10, 2020 at 5:31 am #1321956AbdulDisabled Auto Ads.
Deleted the Element which had the code.
Deleted the Ad Inserter plug-inAs far as I know, I don’t have anything else that could add any Ads to my site now.
can you please check now and guide me to enable the ads in the right way. Thanks a lot for your help. -
AuthorPosts
- You must be logged in to reply to this topic.