Detecting visibility of a content item using tasks triggered by a timer
First Claim
1. A method for detecting visibility of a content item comprising:
- receiving, at one or more processors of a content item selection system, a request for a content item;
generating, using the one or more processors, a script configured to;
determine that the content item is to be displayed as part of a cross-domain iframe,inject a first module at a first position within the content item, the first module executing a task a first predetermined number of times per second when the first module is visible on a display of a client device and a second predetermined number of times per second when the first module is not visible on the display of the client device,inject a second module at a second position within the content item, the second module executing the task the first predetermined number of times per second when the second module is visible on a display of a client device and the second predetermined number of times per second when the second module is not visible on the display of the client device,determine a first number of times the task executed by the first module has been performed at a first time,determine a second number of times the task executed by the first module has been performed at a second time,determine a third number of times the task executed by the second module has been performed at the first time,determine a fourth number of times the task executed by the second module has been performed at the second time,determine a first difference between the first number of times and the second number of times,determine a second difference between the third number of times and the fourth number of times, andoutput data to the content item selection system including a parameter indicating at least a threshold amount of the content item was viewed in response to determining both the first difference and the second difference are greater than a predetermined value;
serving the content item and the script to the client device;
selecting, using one or more processors, code to configure the module; and
serving the code to configure the module to the client device.
2 Assignments
0 Petitions
Accused Products
Abstract
A module may be included with a content item. The module may be configured such that the module performs a number of tasks at a first rate via a timer when the module is visible and at a second rate via a timer when the module is not visible. A script may be used with the module to determine the number of times the task has been executed by the module and to compare the number of times the task has been executed to a value. If the number of times that the task has been executed by the module is greater than the value then data may be output to indicate the that content item has been viewed. In some instances, the module may be used with a content item served in a cross-domain iframe.
27 Citations
20 Claims
-
1. A method for detecting visibility of a content item comprising:
-
receiving, at one or more processors of a content item selection system, a request for a content item; generating, using the one or more processors, a script configured to; determine that the content item is to be displayed as part of a cross-domain iframe, inject a first module at a first position within the content item, the first module executing a task a first predetermined number of times per second when the first module is visible on a display of a client device and a second predetermined number of times per second when the first module is not visible on the display of the client device, inject a second module at a second position within the content item, the second module executing the task the first predetermined number of times per second when the second module is visible on a display of a client device and the second predetermined number of times per second when the second module is not visible on the display of the client device, determine a first number of times the task executed by the first module has been performed at a first time, determine a second number of times the task executed by the first module has been performed at a second time, determine a third number of times the task executed by the second module has been performed at the first time, determine a fourth number of times the task executed by the second module has been performed at the second time, determine a first difference between the first number of times and the second number of times, determine a second difference between the third number of times and the fourth number of times, and output data to the content item selection system including a parameter indicating at least a threshold amount of the content item was viewed in response to determining both the first difference and the second difference are greater than a predetermined value; serving the content item and the script to the client device; selecting, using one or more processors, code to configure the module; and serving the code to configure the module to the client device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for outputting a view parameter for a content item comprising:
-
receiving, at a client device, a content item and code to configure a plurality of modules injected at a plurality of positions within the content item, wherein each of the modules is configured to execute a task a first predetermined number of times per second when the module is visible on a display of the client device and a second predetermined number of times per second when the module is not visible on the display of the client device; injecting, using one or more processors of the client device, a first module at a first position within the content item and a second module at a second position within the content item; determining, using one or more processors of the client device, a first number of times the task executed by the first module has been performed at a first time; determining, using one or more processors of the client device, a second number of times the task executed by the first module has been performed at a second time, determining a third number of times the task executed by the second module has been performed at the first time, determining a fourth number of times the task executed by the second module has been performed at the second time, storing the first number of times, the second number of times, the third number of times, and the fourth number of times in a cache; determining, using one or more processors of the client device, a first difference between the first number of times and the second number of times and a second difference between the third number of times and the fourth number of times; and transmitting data to a content item selection system including a parameter indicating at least a threshold amount of the content item was viewed in response to determining both the first difference and the second difference are greater than a predetermined value, wherein the predetermined value is a numerical value between the first predetermined number of times and the second predetermined number of times. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A system comprising:
-
one or more processors; and a storage device storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising; receiving a request for a content item, selecting code to configure a first module and a second module, wherein each of the first module and the second module is configured to execute a task a first predetermined number of times per second when the module is visible on a display of a client device and a second predetermined number of times per second when the module is not visible on the display of the client device, generating a script configured to; determine that the content item is to be displayed as part of a cross-domain iframe, associate the first module with the content item, wherein the first module is an invisible pixel-sized module, wherein the first module is associated with a plurality of pixels of the content item positioned along a first hyperbolic curve, wherein the first hyperbolic curve indicates a first amount of the content item is visible; associate the second module with the content item, wherein the second module is an invisible pixel-sized module, wherein the second module is associated with at least one pixel at a first corner of the content item; determine a first number of times the task executed by the first module has been performed at a first time, determine a second number of times the task executed by first module has been performed at a second time, determine a third number of times the task executed by the second module has been performed at the first time, determine a fourth number of times the task executed by the second module has been performed at the second time, determine a first difference between the first number of times and the second number of times and a second difference between the third number of times and the fourth number of times, output data including a parameter, wherein the parameter indicates that the first amount of content item indicated by the first hyperbolic curve was viewed in response to determining both the first difference and the second difference are greater than a predetermined value, wherein the parameter indicates that the first amount of content item was not viewed in response to determining both the first difference and the second difference are not greater than the predetermined value, and serving the content item, the script, and the selected code to the client device in response to the request for a content item. - View Dependent Claims (18, 19, 20)
-
Specification