Is it possible to put adsense ads on an app on app platform in digital ocean? I’ve tried putting meta tags and script add ins but so far adsense won’t accep the site.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
I asked the question and now I am supplying the answer (my answer). Yes you can add adsense to a digital ocean app platform app site. The solution to my problems was to add the ads.txt file and not try to use the other 2 methods (1)adding meta tag or 2)adding <script>adsense stuff</script>). In my case, I was transferring a godaddy site to digital ocean app platform. Putting in the <meta> tag and/or the new <script> simply didn’t show up in the html. You see a mysterious https appear(I haven’t paid for it as far as I know) but that wasn’t why adsense couldn’t find my website (i don’t know exactly why the previous 2 methods were failing). But adding ads.txt is what worked.
Hi there,
In order to claim the domain ownership it is best to use your personal domain name rather than the default DigitalOcean App Platform hostname.
You can follow the steps on how to do that here:
https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/
Let me know if you have any questions!
- Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.