Arbitrary size content item generation
AssigneeGoogle Inc.
InventorsGuannan Zhang, Zuo Yan
Life of this patent
Estimating the term…
Abstract
A system for automatically generating a content item may include receiving a content item template having a set of elements for creating a content item and content item data for the set of elements. A placeholder for each element of the set of elements may be generated and a space allocation for each element may be determined based on the generated placeholders for each element. A determination if a conflict exists based on the determined space allocations for each element may be made and, responsive to determining no conflict exists, a content item may be generated using the content item data and the determined space allocations.
Claims19
A system for automatically generating a content item comprising:
- one or more processors;
- and one or more storage devices storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
- receiving, from a client device, a request for a content item;
- receiving a content item template having a set of elements for creating a content item and content item data for the set of elements, wherein each element of the set of elements of the content item template comprises an index indicative of element priority and an anchor;
- generating a placeholder for each element of the set of elements of the content item template, wherein the placeholder for each element of the set of elements indicates a space allocation in the template for the respective element of the set of elements;
- selecting a space allocation for each element of the set of elements based, at least in part, on the generated placeholders for each element of the set of elements by iteratively:
- incrementing a value of a dimension of a first space allocation in pixels of a first element of the set of elements;
- identifying that a portion of the first space allocation of the first element of the set of elements overlaps a portion of a second space allocation in pixels of a second element of the set of elements based on incrementing the value of the dimension of the first space allocation of the first element of the set of elements;
- updating the first space allocation of the first element of the set of elements responsive to identifying that the portion of the first space allocation of the first element of the set of elements overlaps the portion of the second space allocation of the second element of the set of elements, by removing the second element from the set of elements based on a comparison of a first index for the first element and a second index for the second element indicating that a first element priority of the first element exceeds a second element priority of the second element;
- and
- generating the content item using the content item data for the set of elements and the updated first space allocation of the first element of the set of elements;
- and
- outputting data to display the content item on the client device responsive to receiving the request for the content item.
A method for automatically generating a content item comprising:
- receiving, at one or more data processors, a landing page uniform resource locator (URL), a first dimensional value in pixels, and a second dimensional value in pixels;
- receiving, at one or more data processors, a content item template having a set of elements for creating a content item;
- generating, using the one or more data processors, a placeholder for each element of the set of elements of the content item template based, at least in part, on the first dimensional value and the second dimensional value, wherein the placeholder for each element of the set of elements indicates a space allocation in the template for the respective element of the set of elements, each element comprising an index indicative of element priority;
- selecting, using the one or more data processors, a space allocation for each element of the set of elements based, at least in part, on the generated placeholders for each element of the set of elements by iteratively:
- incrementing a value of a dimension of a first space allocation in pixels of a first element of the set of elements;
- identifying that a portion of the first space allocation of the first element of the set of elements overlaps a portion of a second space allocation in pixels of a second element of the set of elements based on incrementing the value of the dimension of the first space allocation of the first element of the set of elements;
- updating, using the one or more data processors, the first space allocation of the first element of the set of elements responsive to identifying that the portion of the first space allocation of the first element of the set of elements overlaps the portion of the second space allocation of the second element of the set of elements, by removing the second element from the set of elements based on a comparison of a first index for the first element and a second index for the second element indicating that a first element priority of the first element exceeds a second element priority of the second element;
- generating, using the one or more processors, a content item using the updated space allocation for the at least one element of the set of elements and content item data of a landing page resource associated with the landing page URL;
- and
- determining, using the one or more data processors, a score for the generated content item based, at least in part, on the updated first space allocation of the first element of the set of elements.
A computer readable storage device storing instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
- receiving a landing page uniform resource locator (URL), a first dimensional value, a second dimensional value, and a content item template having a set of elements for creating a content item;
- generating a placeholder for each element of the set of elements of the content item template based, at least in part, on the first dimensional value and the second dimensional value, wherein the placeholder for each element of the set of elements indicates a space allocation in pixels in the template for the respective element of the set of elements, each element comprising an index indicative of element priority;
- selecting a space allocation for each element of the set of elements based, at least in part, on the generated placeholders for each element of the set of elements, wherein determining a space allocation for each element of the set of elements comprises iteratively:
- determining an initial space allocation in pixels for an element of the set of elements based on a generated placeholder for the element,
- determining a minimum space allocation in pixels for the element of the set of elements based on the initial space allocation, and
- incrementing a value of a dimension of the determined minimum space allocation for the element of the set of elements by a predetermined pixel value;
- identifying that a portion of a first space allocation of a first element of the set of elements overlaps a portion of a second space allocation of a second element of the set of elements based on incrementing the value of the dimension of the first space allocation of the first element of the set of elements;
- updating the first space allocation of the first element of the set of elements responsive to identifying that the portion of the first space allocation of the first element of the set of elements overlaps the portion of the second space allocation of the second element of the set of elements, by removing the second element from the set of elements based on a comparison of a first index for the first element and a second index for the second element indicating that a first element priority of the first element exceeds a second element priority of the second element;
- and
- generating a content item using the updated first space allocation of the first element of the set of elements and content item data of a landing page resource associated with the landing page URL responsive to determining no conflict exists;
- and
- outputting data to display the generated content item responsive to a content item request from a client device.
Dependencies are inferred from the claim text.