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 Partner HQ. 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 Partner HQ 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.
Uploading a new ads.txt file to your domain
If your domain does not have an ads.txt file, you can follow the steps below to set one up.
- Rename the downloaded file 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
Updating an existing ads.txt file on your domain
If your domain already has an ads.txt file, please use the following steps to update the file.
- Open your existing ads.txt file and remove any Dailymotion-specific lines you may have previously copied. 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.
- 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
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 the Partner HQ informing you to take action. You can also manually check by navigating to the "Domains" section of the HQ 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 |
Troubleshooting
If the ads.txt status is not valid, but:
Missing required lines |
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 By adding required lines you will ensure that your inventory can be monetized by our biggest-only demand partners |
Missing 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 By adding all (required and recommended) lines you will ensure that your inventory can be monetized by all of our demand partners |
If you followed the steps above but your status is still “missing required or recommended lines”:
Check if the file is not too big
|
If the file is too big, the lines at the bottom may not be accessible to the crawler. Try removing any duplicate lines or moving the Dailymotion lines higher up in the file
|
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 |
Unreachable
|
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 |
|
Not found
|
Be sure your ads.txt content type is text/plain, NOT text/html |
Check if HTTP content-type on the website where the file is hosted as ‘text/plain’ for sure |
Please 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:
|
Learn more about ads.txt here.