主权项 |
1. A computer implemented method of determining a layout for display of a dynamic document, the method comprising:
accessing, by a data processing system, principal content for a dynamic document; determining, by the data processing system, a size characteristic of the principal content; determining, by the data processing system, a supplemental content slot for placement based on the determined size characteristic of the principal content; determining, by the data processing system, a layout for display of the principal content and the supplemental content slot; selecting, by the data processing system, a first supplemental content object for the supplemental content slot based on the principal content; serving the determined layout and the selected first supplemental content object to a client device for presentation with a first portion of the principal content of the dynamic document, the first portion of the principal content of the dynamic document visible via a display of the client device and a second portion of the principal content of the dynamic document not visible via the display of the client device; receiving, by the data processing system responsive to scrolling activity information from the client device, a request to refresh the supplemental content slot with a different supplemental content object, the scrolling activity information causing the second portion of the principal content to be visible; selecting, by the data processing system responsive to the request, a second supplemental content object for the supplemental content slot, the second supplemental content object different from the first supplemental content object; serving, responsive to the scrolling activity information, the selected second supplemental content object for placement in the supplemental content slot, the selected second supplemental content object presented with the second portion of the principal content of the dynamic document and replacing the served selected first supplemental content object in the supplemental content slot, wherein, responsive to the scrolling, the second portion of the principal content of the dynamic document is visible via the display and the first portion of the principal content of the dynamic document is not visible via the display; receiving, by the data processing system responsive to subsequent scrolling activity information from the client device, a second request to refresh the supplemental content slot with a different supplemental content object, the scrolling activity information causing the first ortion of the srinci sal content to be visible; selecting, by the data processing system responsive to the second request, a third supplemental content object for the supplemental content slot, the third supplemental content object different from the second supplemental content object and the first supplemental content object; and serving, responsive to the subsequent scrolling activity information, the selected third supplemental content object for placement in the supplemental content slot, the selected third supplemental content object presented with the first portion of the principal content of the dynamic document and replacing the served selected second supplemental content object in the supplemental content slot, wherein, responsive to the subsequent scrolling, the first portion of the principal content of the dynamic document is visible via the display and the second portion of the principal content of the dynamic document is not visible via the display. |