A properly implemented and current ads.txt file is required if you embed the Dailymotion player on your properties. Click here to learn more about what is ads.txt and how it works.
Implementation overview
We have made it easy for you to keep ads.txt on your domains up to date:
- Ads.txt customized for your Dailymotion account can be downloaded from your Dailymotion Studio
- Using the option "Latest version of your file", lets you download a complete file (with Dailymotion lines and the other ones) so the file can then be just published at your existing domain if you don't have an already existing ads.txt file.
- If you already have one, the Dailymotion-only lines can then be copied to your existing ads.txt file.
Downloading ads.txt with Dailymotion lines
- Log in to your Dailymotion Studio and navigate to Embed > Domains
- If you are embedding the player on multiple domains or subdomains, please make sure to register them on this page. Click here to learn more about how to add domains.
- Click the ads.txt status info (e.g. "Update ads.txt with the latest version") that will let you download your preferred version of the file.
Manage ads.txt file on your domain
You don't have an ads.txt file available on your domain
- Rename the file you've just downloaded to ads.txt.
- Publish it on the root of your website.
- Check to make sure you can access it via a browser i.e. https://example.com/ads.txt OR https://subdomain.example.com/ads.txt
You already have an ads.txt file available on your domain
- Open your existing ads.txt file and remove any Dailymotion-specific lines you may have previously copied.
- Open the downloaded file.
- Copy and paste the content from the downloaded file to your existing ads.txt file.
- Check to make sure you can access it via a browser i.e. https://example.com/ads.txt OR https://subdomain.example.com/ads.txt
Note: it is important to replace existing Dailymotion-specific lines instead of adding duplicate lines to avoid making the file too big to read by the crawlers.
Uploading a new ads.txt file to your subdomain
If you wish to add Dailymotion's lines to the subdomain only.
- Rename the downloaded file to ads.txt.
- Publish it to the subdomain of your website (e.g. https://subdomain.example.com/ads.txt).
- To the ads.txt file published on your root domain https://example.com/ads.txt, add the line:
"subdomain=subdomain.example.com"
This will let the ads.txt crawler knows, that we should check the file of a subdomain instead of a root domain. - Check to make sure you can access it via a browser i.e. https://example.com/ads.txt AND https://subdomain.example.com/ads.txt
Keeping track of Ads.txt status
We will periodically check ads.txt on your registered domains to make sure it is up to date. In the case that your ads.txt file is inaccessible or requires an update, you will receive an email and see a notification in your Dailymotion Studio informing you to take action.
You can also manually check by navigating to the Domains section from your Dailymotion Studio as mentioned above.
Status | Description |
---|---|
Check back in 24 hours |
Dailymotion has not checked this domain yet. An automated check will be performed in the next 24 hours. If this status persists for more than 48 hours, please contact the support team
|
Missing lines (required or recommended) |
Ads.txt file is reachable but the contents are missing lines. Please download and try updating your existing ads.txt file as per the directions listed above |
Unreachable |
Dailymotion knows that file exists but is unable to reach your ads.txt file |
Not found |
Dailymotion is unable to find your ads.txt file |
Valid |
Your ads.txt file is up to date |
Troubleshoot your ads.txt integration
The ads.txt status is updated everytime our system has crawled your domain. If you followed the guidelines listed above and still have issues with your Ads.txt status, please check the troubleshooting guide below :
My Ads.txt is : Missing required lines
Steps |
Guidelines |
---|---|
Check if nsightvideo.com and other required lines are added to your ads.txt file. |
Please download the latest ads.txt file and make sure that the required lines match the ones in your ads.txt file for your channel |
Wait for the CDN cache to refresh |
Sometimes CDN cache for your website may take longer than expected to refresh. Wait for an additional 24 hours to see if the status changes |
Check for redirection on your domain |
Crawlers check a root domain – if ads.txt is hosted on https://www.domain.com/ads.txt, be sure that your domain: https://domain.com/ads.txt redirects to it |
Check your domain's SSL certificate |
Make sure your SSL certificate is updated. Not valid SSL certificate is making your file unreachable for the ads.txt scanner |
Public permission and robots.txt |
Make sure that your file is open to the public. Also, robots.txt file on a domain needs to allow to crawl the URL where the ads.txt was placed |
My Ads.txt status is : Missing Recommended lines
Steps |
Guidelines |
---|---|
Check the recommended lines |
It means required lines are added, but recommended ones not. Check if the lines that we recommend are also added to your ads.txt file. Please download the latest ads.txt file and make sure that all (required and recommended) lines match the ones in your ads.txt file for your channel |
Wait for the CDN cache to refresh |
Sometimes CDN cache for your website may take longer than expected to refresh. Wait for an additional 24 hours to see if the status changes |
My Ads.txt status is : Unreacheable
Steps |
Guidelines |
---|---|
Check the registered domain. |
Make sure that the domain registered on the domains page is the one that has ads.txt |
Check ads.txt is publicly accessible using a browser. |
If you have registered domain example.com, check if example.com/ads.txt is accessible in the browser |
Check for redirection on your domain |
Crawlers check a root domain – if ads.txt is hosted on https://www.domain.com/ads.txt, be sure that your domain: https://domain.com/ads.txt redirects to it |
Check your domain's SSL certificate |
Make sure your SSL certificate is updated. Not valid SSL certificate is making your file unreachable for the ads.txt scanner |
Public permission and robots.txt |
Make sure that your file is open to the public. Also, robots.txt file on a domain needs to allow to crawl the URL where the ads.txt was placed |
My Ads.txt status is : Not found
Steps |
Guidelines |
---|---|
Check your ads.txt content type |
Your ads.txt file must be hosted as a "text/plain" file, If your file is a "text/html" file, the crawler may not recognize your content. |
Create your ads.txt file
|
It's one of the most important of IAB's initiatives. |
How do I customize my ads.txt file?
If you want to add additional lines to the ones provided in this guide or need additional information, use the following resource: IAB Ads.txt page
Publishers can create an ads.txt file in Notepad or any other basic text-editing program according to the specifications set out by the IAB. The Ads.txt file must contain the following fields:
Mandatory fields:
- Domain name of the advertising system, SSP, or an ad exchange (ex. ‘google.com');
- Publisher account ID (a unique string of numbers/letters);
- Type of relationship (‘direct’ or ‘reseller’);
Optional field:
- Certification authority ID (currently TAG ID);
- Comments can be added in the file after the “#” symbol. The comments will not be taken into account by the crawler
This is how the string would look in an “/ads.txt” file:
google.com, pub-7019376976432612, RESELLER # video
Learn more about ads.txt here.