Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Question: root directory location? Need to add a ads.txt

Scheduled Pinned Locked Moved Ghost
5 Posts 4 Posters 84 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 823Labs8 Offline
    823Labs8 Offline
    823Labs
    wrote on last edited by
    #1

    I'm trying to add a ads.txt file to my install but am a little confused as to the actual home directory to place the file.

    would I be placing the file in /home/yellowtent/appsdata/[unique-string]
    or one of its subdirectories

    Thanks.

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to 823Labs on last edited by
    #2

    @823Labs the docs on this https://ghost.org/integrations/google-ad-manager/ say

    simply move your ads.txt file to your theme’s root directory,

    So, just use the app File Manager to browse to Content -> Themes -> Casper (or whatever theme you are using) and upload it there

    IMG_20230225_081714.jpg

    I use Cloudron with Gandi & Hetzner

    823Labs8 1 Reply Last reply
    2
  • 823Labs8 Offline
    823Labs8 Offline
    823Labs
    replied to jdaviescoates on last edited by
    #3

    @jdaviescoates Thank you!

    1 Reply Last reply
    2
  • G Offline
    G Offline
    ghstandard
    wrote on last edited by
    #4

    I've done this, yet Adsense still says the file can't be found

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to ghstandard on last edited by
    #5

    @ghstandard putting an ads.txt at top level works for me.

    f7dfcf9b-6ec3-4b53-8180-e52e12172ffc-image.png

    Then, if I go to https://blog.domain.com/ads.txt , I can see the file. Are you able to navigate to the URL and see the file ? If so , maybe this is some caching issue on Google side.

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.