Automatically determining a size for a content item for a web page
First Claim
1. A method for selecting and serving a content item based on a determined content item size for a resource, the method comprising:
- receiving, from a client device, a request for a script responsive to a resource loading for display on the client;
serving, using a processing module, the script to the client device in response to the request, the script configured to;
determine a size of a viewport based on one or more retrieved values for a width and height of the resource,determine a width of a parent element of the resource based on a document object model of the resource, anddetermine a content item size based, at least in part, on the size of the viewport and the width of the parent element;
receiving, at a processing module and from the client device, a dimension of the determined content item size;
determining, using a processing module, a set of content items based, at least in part, on the received dimension of the determined content item size;
selecting, using a processing module and from the determined set of content items, an appropriately sized content item to be displayed on the client device; and
serving, using a processing module, data to effect display of the selected content item in the parent element with the resource.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for automatically determining a content item size may be based on a size of a viewport and a width of a parent element. A script may be configured to determine a size of a viewport, determine a width of a parent element of a resource, and determine a content item size based, at least in part, on the size of the view port and the width of the parent element. A dimension of the determined content item size may be used by a content item selection system to determine a set of content items. A content item selection system may select a content item from the determined set of content items and serve data to effect display of the selected content item in the parent element with the resource.
-
Citations
20 Claims
-
1. A method for selecting and serving a content item based on a determined content item size for a resource, the method comprising:
-
receiving, from a client device, a request for a script responsive to a resource loading for display on the client; serving, using a processing module, the script to the client device in response to the request, the script configured to; determine a size of a viewport based on one or more retrieved values for a width and height of the resource, determine a width of a parent element of the resource based on a document object model of the resource, and determine a content item size based, at least in part, on the size of the viewport and the width of the parent element; receiving, at a processing module and from the client device, a dimension of the determined content item size; determining, using a processing module, a set of content items based, at least in part, on the received dimension of the determined content item size; selecting, using a processing module and from the determined set of content items, an appropriately sized content item to be displayed on the client device; and serving, using a processing module, data to effect display of the selected content item in the parent element with the resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system for serving content items comprising:
one or more processing modules; and
one or more storage devices storing instructions that, when executed by the one or more processing modules, cause the one or more processing modules to perform operations comprising;receiving, from a client device, a request for a script responsive to a resource loading for display on the client; serving the script to the client device in response to the request, the script configured to; determine a size of a viewport based on one or more retrieved values for a width and height of the resource, determine a width of a parent element of the resource based on a document object model of the resource, rank each predetermined standard size of a set of predetermined standard sizes based, at least in part, on the size of the viewport and the width of the parent element, and determine a content item size based on the ranking of each predetermined standard size of a set of predetermined standard sizes; receiving, from the client device, a dimension of the determined content item size; determining a set of content items based, at least in part, on the received dimension of the determined content item size selecting, from the determined set of content items, an appropriately sized content item; and serving data to effect display of the selected content item in the parent element with the resource. - View Dependent Claims (12, 13, 14, 15, 16)
-
17. A non-transitory computer-readable storage device storing instructions that, when executed by one or more processing modules, cause the one or more processing modules to perform operations comprising:
-
receiving, from a client device, a request for a script responsive to a resource loading for display on the client serving the script to the client device in response to the request, the script configured to; determine a size of a viewport based on one or more retrieved values for a width and height of the resource, determine a width of a parent element of the resource based on a document object model of the resource, rank each predetermined standard size of a set of predetermined standard sizes based, at least in part, on an area of each predetermined standard size and a ratio match value, and determine a content item size based, at least in part, on the ranking of each predetermined standard size of a set of predetermined standard sizes; receiving, from the client device, a dimension of the determined content item size; determining a set of content items based, at least in part, on the received dimension of the determined content item size selecting, from the determined set of content items, an appropriately sized content item; and serving data to effect display of the selected content item in the parent element with the resource. - View Dependent Claims (18, 19, 20)
-
Specification