

# ADVSEC08-BP02 Look for opportunities to block ad fraud and enhance transparency in your advertising solution
<a name="advsec08-bp02"></a>

 DSP’s need to verify their advertisers and agencies are purchasing legitimate advertising inventory across potentially multiple exchanges in real time. Consider implementing an ads.txt file, designed by IAB tech labs, is designed to enable additional transparency within the advertising solution by allowing DSPs to review legitimate companies authorized to market their advertisement inventory.

## Implementation guidance
<a name="ig-advsec08-bp02"></a>

 Adding an `ads.txt` file lets ad publishers declare which services can market their ad space. Retailers can verify incoming advertisement inventory against the list to verify authenticity. This aids in fraud prevention by blocking domain spoofing threats by bad actors impersonating legitimate publishers. The file also aids in protecting DSP’s budgets and campaigns performance. Ads.txt may also aid in compliance by meeting certain criteria large advertisers require within their best practices.

 Consider using Amazon S3 to host your `ads.txt` file for highly available and simple access. Amazon S3 allows for version control and accessible updates to the file if needed. Lastly, within Amazon S3, you can block object version deletion using S3 object lock. This defined retention period can be used as an extra layer of data protection. 

## Key AWS services
<a name="key-aws-services-11"></a>
+  Amazon S3 

## Resources
<a name="resources-17"></a>
+  [Locking objects with Object Lock](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for AWS Well-Architected. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query wellarchitected` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
