Introduction
The Files page in the admin panel of Newsifier allows you to easily create, upload, and manage files on your web server without needing external tools. This feature is particularly useful for managing important files that your website or app needs to run smoothly, such as robots.txt or ads.txt, which may be necessary for SEO or ad integration purposes.
Key Files You Might Need to Manage in Newsifier
Newsifier makes it easy to manage important files directly from the Files page in the admin panel. Below are some key files you might need to create or upload, with their specific purposes, locations, and why they’re important.
Ads.txt
The ads.txt (Authorized Digital Sellers) file is essential for websites that run digital ads. It protects your site from ad fraud by listing the companies authorized to sell ad space on your behalf. Advertisers use this file to verify they are buying ads through legitimate sellers, ensuring transparency and security.
Why it’s important: Prevents unauthorized parties from selling your ad space, ensuring only trusted partners are involved.
Location: exampledomain.com/ads.txt
Tip: If an ad agency manages this file for you, you can set up a redirect URL to their version so you don’t have to update it manually.
App-ads.txt
If you display ads in a mobile app, you’ll need an app-ads.txt file. Like ads.txt, it lists the authorized sellers of your app's ad space, ensuring transparency and security in mobile advertising.
Why it’s important: Ensures that only authorized sellers can offer ad space in your app, preventing fraud in the mobile ad space.
Location: exampledomain.com/app-ads.txt
Tip: You can also use a redirect URL for this file if your ad provider manages it on your behalf.
Robots.txt
The robots.txt file is used to control how search engines crawl your website. It tells bots which pages should or shouldn’t be indexed. However, this file isn’t always necessary, as search engines typically crawl all pages by default. You only need to configure a robots.txt file if you want to restrict or control what gets indexed.
Why it’s important: Helps manage what search engines can or cannot index on your site. It’s only required if you want to customize what’s crawled.
Location: exampledomain.com/robots.txt
Tip: If you don’t need to restrict what is crawled, you don’t need to set up this file. Search engines will naturally crawl your entire site.
Search Console Verification File
When verifying your website for Google Search Console, you need to upload a unique verification file. Google provides this file, and it’s necessary to prove ownership of your site. Once verified, you can access performance data and other insights through Google Search Console.
Why it’s important: Required to verify ownership of your site and access Google Search Console for tracking site performance.
Location: exampledomain.com/google23423423.txt (Example filename; Google provides a unique verification file for each site)
Tip: After verification, you can delete this file, as it’s only needed once during the verification process.
Accessing the Files Overview
Log in to your Newsifier admin panel.
Navigate to the Monetizing section on the left-hand menu.
Select Files to access the Files Overview page.
Files Overview Page
On the Files Overview page, you can manage your files with several options:
Search: Use the search input to locate files by name.
Bulk Actions: Select multiple files using checkboxes for bulk actions such as deletion.
Pagination: Browse through all of your files by navigating between pages.
Creating a New File
To create a new file:
Click the Add File button located in the top right corner of the Files Overview page.
In the Add File form, provide the following details:
Route/File Name: Define the name of the file.
Redirect URL: (Optional) Set a URL where this file should redirect.
Content: Add the content you want for this file.
On the right side of the page, you will also find an option to Publish or Unpublish the file. Select this option based on whether you want the file to be active immediately.
Editing an Existing File
To edit an existing file:
Navigate to the Files Overview page.
Click on the file name you wish to edit.
You will be taken to the Edit File page, where you can modify the file's content, file name, redirect URL, and publishing status.
Tip: Advertiser accounts also have access to this section in case the ad agency needs to edit the ads.txt file.
Deleting Files
To delete one or more files:
Select the files on the overview page by ticking the checkboxes next to them.
Click on the Selected Action dropdown and choose Delete.
A confirmation message will appear, prompting you to confirm your action before permanently deleting the file(s).
FAQ
How to Edit ads.txt or robots.txt
You can as admin or advertiser to update ads.txt or robots.txt to manage ad settings and search preferences.
Go to Monetizing > Files in your admin panel.
Find and click the file name.
Edit the content and save.