Conditional interpretation of a single style definition identifier on a resource

    公开(公告)号:US11361048B2

    公开(公告)日:2022-06-14

    申请号:US16665945

    申请日:2019-10-28

    申请人: Google LLC

    摘要: Methods, systems, and computer programs encoded on a computer storage medium, that relate to conditionally interpreting a single style definition within a same page. Methods include receiving a request to present third party content in a third party content block on a publisher-provided content page. A single style identifier and one or more attributes are obtained from the content page. Subsequently, a third party content item is selected from a content source. Using the single style identifier and the one or more attributes, a first rule is identified that specifies a set of style parameters for content selected for presentation in the third party content block from among a plurality of rules specifying different styles for a respective plurality of third party content blocks. The third party content item is formatted according to the style parameters of the first rule and provided for presentation with the third party content block.