Server-Side Ad Script Optimization for Web Page Loading

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional web page loading is slow due to the client-side execution of ad scripts, which interact with multiple third-party servers, and ad blockers can block these ads, making it difficult for publishers to move away from content management systems (CMS) that manage ad content and layout.

Innovation Solution

Implementing a system that composes and serves a quick-loading, personalized web page by parsing publisher content, selecting user-specific ads, and optimizing ad script placement on the server side, including ad content before serving the page, and strategically placing third-party verification code to ensure early execution and minimize latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If ad scripts are loaded on the client's browser and execute to call ad servers, then ad functionality is provided, but web page loading speed deteriorates

Engineering Contradiction:
Improvead functionalityVSAvoidweb page loading speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent extracts ad scripts and third-party verification code from the main web page content. Ad scripts are loaded asynchronously or deferred to a separate execution context, while verification code is injected at optimized locations rather than blocking page rendering. This separation allows the main page to load faster while ad functionality remains intact.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements preliminary action by pre-loading ad scripts during page parsing before serving, and by strategically pre-positioning verification code at optimal locations in the HTML structure. This allows ads and verification to be ready when needed without blocking the initial page render, improving perceived loading speed while maintaining ad functionality.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If third party verification code is injected at default locations, then ad verification is performed, but execution timing is delayed causing latency

Engineering Contradiction:
Improvead verificationVSAvoidverification latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies local quality by analyzing the specific characteristics of different page locations and injecting verification code at optimized locations based on local conditions. The system evaluates factors such as DOM structure, script loading order, and rendering priority to determine the best insertion points for verification code, ensuring early execution in contexts where it will be most effective rather than using a one-size-fits-all approach.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent performs preliminary action by injecting verification code at optimized locations during the server-side page composition phase, before the page is sent to the client. This ensures verification code is in place and can execute immediately when the page loads, rather than being added later which would cause delays.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If ad scripts are executed on the client side, then ad dynamic injection is achieved, but web performance deteriorates due to multiple third-party server calls

Engineering Contradiction:
Improvead dynamic injectionVSAvoidweb performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent extracts ad script execution from the critical page loading path. By loading ad scripts asynchronously or in a deferred manner separate from the main page rendering flow, the system maintains the adaptability of dynamic ad injection while preventing ad-related network calls from blocking or slowing down the core web performance metrics.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11651046B2Optimizing third party tag insertion
Publication Date: 2023.05.16 LIFE360
  • US11651046B2 patent drawing
  • US11651046B2 patent drawing
  • US11651046B2 patent drawing

AI summary

A request for a page is received. A client-side executable code that is included in a plurality of content elements associated with the page is extracted. A single instance of the client-side executable code is injected at an optimized location of the page. The page that includes the single instance of the client-side executable code is provided.