User agent
The information about the client software, such as a browser or a crawler, that is sent with each web request in the User-Agent header field defined by the HTTP standard RFC 9110.
Also called: User-Agent header
RFC 9110, the HTTP standard, defines the User-Agent header field as information about the user agent originating a request, used to work around client limitations and for analytics on browser and operating system use. A browser sends one with every request, and so does a crawler, a monitoring tool or a bot. The string is whatever the client chooses to send.
The first check, and the easiest to fake
The Media Rating Council (MRC) addendum of 2020 lists "non-browser user-agent headers or other forms of unknown browsers" among the examples of general invalid traffic (GIVT), the class removed by lists and routine checks. The common list is the IAB/ABC International Spiders and Bots List, which the addendum says the Alliance for Audited Media maintains for IAB Tech Lab; IAB Tech Lab sells it by subscription, $5,000 a year for members and $15,000 for others. A bot that names itself is caught there.
A bot that sends an ordinary browser's string is not. The same addendum puts "bots and spiders or other crawlers masquerading as legitimate users detected via sophisticated means" under sophisticated invalid traffic (SIVT). The user agent decides which class a bot lands in: declared, it is a list lookup; disguised, it takes more than the header to find.
Not proof either way
The addendum warns that a missing user agent does not by itself mean traffic is invalid, unless direct evidence supports it. Google's documentation makes the same point from the other side: its crawlers identify themselves by the user agent, the source IP address and the reverse DNS hostname of that IP, and it explains how to use those details to verify a request that claims to be Google, so the header alone is not taken as proof. Which declared bots fetch ad landing pages without a click, such as AdsBot-Google, is covered in Which bots on your landing pages did you pay for?
Sources
- MRC: Invalid Traffic Detection and Filtration Standards Addendum (June 2020), mediaratingcouncil.org
- Google for Developers: Overview of Google crawlers and fetchers (user agents), developers.google.comAccessed
