• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
  • About
  • Contact
  • Subscribe
  • Advertise
methodshop

methodshop

tech news, reviews & how to's

  • Trending
  • Latest
  • Tech
    • Apps
    • Internet
    • Software
    • Security
    • Games
    • Advertising
  • Life
    • Entertainment
    • TV & Film
    • Music
    • Health & Science
    • Family
    • Social Media
    • Food
    • Style
  • Learn
    • Tutorials
    • Reviews
    • News
      • Business
      • Crime
      • Politics
  • Fun
    • Featured
    • Humor
    • Holiday

Home : Internet : How To Easily Manage Ads.txt Files Across Multiple Subdomains

Ads.txt File Format
relexahotels

How To Easily Manage Ads.txt Files Across Multiple Subdomains

Deploying ads.txt files across subdomains can be confusing. Don't worry, here's how to manage your subdomain ads.txt files.

August 14, 2020 by Joe Michaels
FacebookTweetPinLinkedIn

Do you manage a subdomain? Are you confused about how to manage the ads.txt file format across subdomains? Here’s how to manage your subdomain ads.txt files.

In 2017, a new digital advertising standard was created called the ads.txt file format. To help verify which advertisers are allowed to advertise on your website, lines of code can be added to an ads.txt file placed on the root level of a webserver.

But what if you manage a subdomain of a website and need to have a separate ads.txt file from the ads.txt on the main domain? Here’s how to manage and redirect ads.txt files on a site with multiple subdomains.

Requirements:

  • FTP access to both the root domain and subdomain(s)
  • A basic text editor
  • Basic coding skills
  • 10 minutes of free time

NERD NOTE: The “ADS” in ads.txt is an acronym for Authorized Digital Sellers. The technology is an initiative from the IAB Technology Laboratory. The contents of an ads.txt file specify which companies are authorized to advertise on a website and can help reduce internet fraud.

Preparing The Ads.txt File For Your Subdomains

You can create or edit an ads.txt document using any basic text editor. I suggest using BBedit (macOS) or Notepad (Windows OS). Do NOT use Microsoft Word or another word processing application. These apps create text characters and file types that won’t be compatible with your web server.

Each ad network that you partner with will supply you with a different set of entries for your ads txt file. The contents of your ads.txt document will consist of several lines of ad tags that look like this:

adtech.com, 0000, RESELLER
advertising.com, 0000, RESELLER
appnexus.com, 0000, DIRECT
Cedato.com, 0000, RESELLER
contextweb.com, 0000, RESELLER

It’s also a good idea to add notes to your ads.txt file. I suggest adding a note saying where the ad tags came from and who updated that section. This will help reduce clutter and confusion. Just type a “#” symbol in from of your note. Any line that starts with a “#” will be ignored.

#Start NAME OF AD PROVIDER
adtech.com, 0000, RESELLER
advertising.com, 0000, RESELLER
appnexus.com, 0000, DIRECT
Cedato.com, 0000, RESELLER
contextweb.com, 0000, RESELLER
#Updated May 6, 2020 | YOUR NAME
#End NAME OF AD PROVIDER

Upload Or Update Your Ads.txt Files

Once you’re done creating your ads.txt files, you’ll need to upload it to your webserver. There are a variety of ways to do this including using an FTP client or cPanel. Talk to someone who oversees your website if you don’t know how to do this. Also, create a backup of your currents ds.txt file before you overwrite it with your new upload.

Authorize The Subdomain Ads.txt File From The Root Domain

The final step is to add a line of code to the ads.txt file on the root domain that points to the ads.txt file on the subdomain. Here’s how to do that:

#Subdomain Permissions - DO NOT REMOVE
subdomain=SUBDOMAIN.ROOTDOMAIN.com
#Updated Apr 6, 2020 | YOUR NAME

How To Use The Ads.txt File Format Across Subdomains

Upload Your Ads.txt Files
IO-Images, relexahotels,

That’s it. As long as your main ads.txt file has a pointer to the additional ads.txt file(s) on your subdomain(s), then you should be okay. Just remember that the ads.txt files on your subdomains won’t work unless the root domain points to them. Please post a comment below if you have any questions. Also, we would really appreciate your feedback if you have suggestions on how to make this tutorial about managing your ads.txt files even better.

Deploying ads.txt files across subdomains can be confusing. Don’t worry, here’s how to manage your subdomain ads.txt files.
Click To Tweet

Related Articles:

  • How To Open WebP Files And Convert WebP To JPG
  • How To Use The BBEdit GREP Advanced Find And Replace Function
  • Why You Should Update Your WordPress Ping List
  • How To Enable GZIP Compression For Your Website


FacebookTweetPinLinkedIn
Category: Internet, Advertising, DIY & Tutorials, Learn Tag: ads.txt, BBEdit, Microsoft Word, Notepad, websites
Previous Post:Mac And Me Bubble GumMac And Me: 12 Things You Didn’t Need To Know About The Infamous Film
Next Post:Rockhounding 101: Everything You Need To Know About This Fun Rock Hunting HobbySexy Woman At A Rock Quarry

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

Sidebar

Popular Posts

  • Job Automation Using ChatGPT Could Make These Jobs Obsolete - Is Your Job On This List?Job Automation Using ChatGPT Could Make These Jobs Obsolete – Is Your Job On…
  • 18 Weird Facts About Sea-Monkeys You Won't Believe Are True, Including Their Connection To The Ku Klux Klan18 Weird Facts About Sea-Monkeys You Won’t Believe Are True, Including Their…
  • 7 Pictures Of Naked People Captured By Google's Cameras7 Pictures Of Naked People Captured By Google’s Cameras
  • The Surprising Story Behind The NBC ChimesThe Surprising Story Behind The NBC Chimes
  • Top 200 Nielsen DMA Rankings (2023) – Full ListTop 200 Nielsen DMA Rankings (2023) – Full List
  • 20 Famous People Who Are Members Of The Sleepless Elite20 Famous People Who Are Members Of The Sleepless Elite
  • How To Change The Default LG TV Home Screen To Live TVHow To Change The Default LG TV Home Screen To Live TV
  • The Best Caddyshack Quotes: 30 Famous Caddyshack Quotes That'll Make You LaughThe Best Caddyshack Quotes: 30 Famous Caddyshack Quotes That’ll Make You Laugh
  • Is Your Hatch Restore Already Registered? Here's How To Fix It And Unregister A Hatch Restore.Is Your Hatch Restore Already Registered? Here’s How To Fix It And…
  • 40 Of Bill Murray's Best Groundhog Day Quotes40 Of Bill Murray’s Best Groundhog Day Quotes

Categories

Dr. Martin Luther King, Jr.

25 Inspirational Dr. Martin Luther King Jr. Quotes

Famous Dr. Martin Luther King Jr. quotes about education, love, equality, hope, freedom, religion, and activism.

Robot Rabbit - Robot Religion - Jewish Robot

Is Robot Religion The Next Phase Of The Artificial Intelligence Evolution?

A Rabbi shocked his New York synagogue when he confessed that his sermon was written by the ChatGPT chatbot. Despite initial shock, the congregation was impressed by the chatbot’s ability to deliver a thoughtful message. This sparked a discussion about the intersection of technology and Robot Religion and AI. Is spirituality part of the Artificial Intelligence evolution?

Recent Posts

  • Is Robot Religion The Next Phase Of The Artificial Intelligence Evolution?
  • RIP: Remembering The Tech That Died In 2022
  • 25 Inspirational Dr. Martin Luther King Jr. Quotes
  • Job Automation Using ChatGPT Could Make These Jobs Obsolete – Is Your Job On This List?
  • Unleash the Power Of AI-Generated Music With Riffusion – The Free Web App That Creates Original Tracks From Your Text Prompts

Jump to comments

About

MethodShop’s mission is to entertain, inform, and sometimes gross you out. MethodShop has affiliate relationships, so we may get a small share of the revenue from your purchases. Items are sold by the retailer, not by us. All prices are subject to change.

Latest

Robot Rabbit - Robot Religion - Jewish Robot

Is Robot Religion The Next Phase Of The Artificial Intelligence Evolution?

Tech That Died - Tech Graveyard

RIP: Remembering The Tech That Died In 2022

Follow

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • Pinterest
MethodShop Animated Zoom Icon
  • About
  • Submit
  • Disclaimer
  • Privacy Policy
  • Contact
  • Subscribe
  • Store

Copyright © 2023 MethodShop · All Rights Reserved · Powered by BizBudding Inc.