Facebook has committed to reducing ad fraud by adopting the ADS.TXT - Authorized Digital Sellers initiative. As an Audience Network publisher, you are required to participate in this initiative by placing a crawlable ads.txt
file on your site and adding a record in the file that identifies facebook.com as an authorized reseller of your ads.
An ads.txt record consists of a single line comprised of four fields separated by commas.
The ads.txt record fields are as follows:
Field | Description | Value |
---|---|---|
| (Required) The canonical domain name of the advertising system to which the bidder connects. |
|
| (Required) The identifier associated with the reseller account within the advertising system. | Your property IDs or Business ID |
| (Required) An enumeration of the type of account. |
|
| An ID that uniquely identifies the advertising system within a certification authority. |
|
To add Facebook to your ads.txt, you have the option of using either property IDs or your business ID. In either case, the ads.txt file must be located at http://yourdomain.com/ads.txt
and be visible to web crawlers.
To add Facebook to your ads.text with property IDs, copy and paste the following string to each of your properties. (Note: You must also update the property ID for each string.)
facebook.com, Property ID, RESELLER, c3e20eee3f780d68
The following is an example.
[...] facebook.com, 1000001, RESELLER, c3e20eee3f780d68 facebook.com, 1000002, RESELLER, c3e20eee3f780d68 facebook.com, 1000003, RESELLER, c3e20eee3f780d68 [...]
To add Facebook to your ads.txt with a business ID, copy and paste the following string containing your Business ID. This is the option for publishers with several property IDs.
facebook.com, Business ID, RESELLER, c3e20eee3f780d68
For more information on the format of the ads.txt file, see IAB Tech Lab, Ads.txt Specification.