Explore the complex world of ad fraud in this 48-minute conference talk from Shmoocon 2017. Dive into the early days of ad fraud, understand what is bought detection, and learn about verification processes. Examine the roles of various players in the ad tech ecosystem, including advertisers, media agencies, demand-side platforms, and supply-side platforms. Discover targeting techniques, pixel tracking, and ad text analysis. Investigate traffic laundering methods, bought designs, and automation tools like headless browsers and system emulators. Delve into JavaScript-based fraud techniques, including global object manipulation and meth bought. Analyze countermeasures such as IP address checks, consistency checks, and statistical anomaly detection. Gain insights into BOTS detection and the use of Flash in ad fraud. Conclude with a Q&A session to further expand your knowledge of this intricate ecosystem.