I'm hoping that I can use google ad manager with the soledad theme. I have added the google ad manager ad unit body tag to the Add Google Adsense/Custom HTML code locations within the theme that I would like to serve my ads though they don't seem to be working. Should I be able to add the body tag from google ad manager ad unit to this field? For reference I am using header and footer plugin to add the header tag from the google ad manager ad unit that I am trying to serve ads from.
The Google Ad code display on your page, but you add the wrong location on your ads code, so the ads can't be display. You can see the error on the console of the browser:
Hi, Thanks. I had edited so many things and generated tags so many times I messed it up. I have to be honest I was also making a rookie mistake and had adblocker running which I think got me in a mess originally. Your reference pointed me towards publisher console javascript: googletag.openConsole() which was very useful.
Thanks, I've now got ads appearing in fixed locations like top of post and category pages. Though when I put the google ad manager ad unit tag in the In-feed ads code area it is only showing the ad in the first location. The second and subsequent locations in the feed are blank. I have attached screenshots. I thought I read somewhere that a google ad manager ad unit could only exist once on a page. So I wondered if placing the ad unit tag in the in-feed ads code area works? Should it work showing a different ad from my ad unit line items at the different intervals within the feed of posts?
Hi,
I'm hoping that I can use google ad manager with the soledad theme. I have added the google ad manager ad unit body tag to the Add Google Adsense/Custom HTML code locations within the theme that I would like to serve my ads though they don't seem to be working. Should I be able to add the body tag from google ad manager ad unit to this field? For reference I am using header and footer plugin to add the header tag from the google ad manager ad unit that I am trying to serve ads from.
Thanks, Luke
Hi,
The Google Ad code display on your page, but you add the wrong location on your ads code, so the ads can't be display. You can see the error on the console of the browser:
Please read this article for more information about your issues: https://support.google.com/admanager/answer/9903080?hl=en
Regards,
PenciDesign.
Hi, Thanks. I had edited so many things and generated tags so many times I messed it up. I have to be honest I was also making a rookie mistake and had adblocker running which I think got me in a mess originally. Your reference pointed me towards publisher console javascript: googletag.openConsole() which was very useful.
Thanks, Luke
Hi,
Thanks, I've now got ads appearing in fixed locations like top of post and category pages. Though when I put the google ad manager ad unit tag in the In-feed ads code area it is only showing the ad in the first location. The second and subsequent locations in the feed are blank. I have attached screenshots. I thought I read somewhere that a google ad manager ad unit could only exist once on a page. So I wondered if placing the ad unit tag in the in-feed ads code area works? Should it work showing a different ad from my ad unit line items at the different intervals within the feed of posts?
Thanks, Luke
Hi,
Your ADS code only display 1 time on your page. For the in-feed ADS code, please read this article: https://support.google.com/adsense/answer/9189560?hl=en
Please get the ADS code similar to this:
Don't use an ADS code that pushes your ads to the specific ID on Post Feed.
Regards,
PenciDesign.
Hi, Thank you for this. I've given up on trying to get this to work at this stage. Thank you for your help though. Luke