Patent ID: 8712902

Claim:
A method comprising: executing, by a computing device, an operating system configured to present an advertisement on the device; detecting, by the device, whether the operating system presents the advertisement in compliance with one or more viewing requirements of the advertisement, the viewing requirements including at least one requirement that the advertisement is presented to a user; invoking, by the device, an advertisement enforcement routine of the operating system in response to the detecting, the enforcement routine comprising: detecting that a first process and a second process, other than the operating system, are being performed on the computing device; comparing a first number of inputs received by the first process with a second number of inputs received by the second process; when the first number of inputs is greater than the second number of inputs, determining that the first process is receiving more attention than the second process; and upon a determination that the first process is receiving more attention than the second process, disabling at least the first process; and generating, by the device, a report in response to the detecting whether the operating system presents the advertisement in compliance with one or more viewing requirements of the advertisement, the report confirming whether the advertisement has been presented.