Skip to content

serp_events

Functions for working with Glean SERP events.

ad_blocker_inferred (UDF)

Determine whether an ad blocker is inferred to be in use on a SERP. True if all loaded ads are blocked.

Parameters

INPUTS

num_loaded INT, num_blocked INT

OUTPUTS

BOOL

Source | Edit

is_ad_component (UDF)

Determine whether a SERP display component referenced in the serp events contains monetizable ads

Parameters

INPUTS

component STRING

OUTPUTS

BOOL

Source | Edit