laughs Sorry, failed to attach the link! This one:
Yes, it’s working but unfortunately, it’s a little bit too long to modify all articles one by one…
The question about auto ads might be a good question to ask in an adsense forum, @Nathanael . Although some of my reading says that auto ads can take several days to show up after approval. You might want to check that you have all appropriate ad types turned on, and you might want to increase the number of ads shown (there’s apparently a slider?)
My limited reading says that auto ads are basically a ‘black box’ and the method of deciding where to put ads isn’t publicized by Google.
It might be useful to take a look at a preview - does the preview show that ads could appear in the post body, but they just aren’t currently, or does it not identify those parts of the page as a valid target? Documentation: Preview Auto ads settings on your site - Google AdSense Help
Yes, it’s exactly what you say : the preview show that ads could appear in the post body, but they don’t appear in the real post.
I’ve read the full guide you provided and it seems that every setting is fine…
So it doesn’t sound like there’s anything to adjust on the ghost side…
Just to confirm this process so I know I’m getting it right, is this correct? I’m not seeing my ads.txt being redirected, so I feel like I did something wrong.
I’ve created a GitHub repo that contains my ads.txt, then I published it to the web by using GitHub pages.
Under the Labs section in Ghost, I clicked to download my current redirect file aka redirects.json This was a blank json file with no code.
I added this line of code in Visual Studio and saved it as a redirects.yaml.
/ads.txt: https://chillbilldill.github.io/chillbilldill/ads.txt
Lastly, I clicked “upload redirects file” in Ghost admin labs area and uploaded my new redirects.yaml
You need a 301: and please recheck spacing. Its picky!
Got it, thanks! It’s working.
301:
/ads.txt: https://chillbilldill.github.io/chillbilldill/ads.txt
I’m trying to do the same thing but it’s been years since I played with code. Do I put the redirect (similar to yours) between the in the json file?
Rick, I recommend the yaml (not json) format like what @chillbilldill.com is showing above. It’s an easier format to read and get right. :)
I’ll do that - thank you!
It worked for me.
Thank you very much.