---
title: "Ads"
description: "Ad serving, bidding, ads measurement"
url: "https://swe.quest/tags/ads?per=48"
---

# Ads

Topic in Domains: Ad serving, bidding, ads measurement

By difficulty: [Easy](https://swe.quest/tags/ads.md?difficulty=easy) · [Medium](https://swe.quest/tags/ads.md?difficulty=medium) · [Hard](https://swe.quest/tags/ads.md?difficulty=hard)

Posts 1–41 of 41, page 1 of 1, newest first.

## 2026-11-25

- [Part 2: Generative bidders for ads at Grab](https://swe.quest/articles/part-2-generative-bidders-for-ads-at-grab-c23bf975df8e9eb8.md): Grab Engineering · 2026-11-25 · Hard · 12 min read · Ads, Machine learning, Model training, Evaluation
  Grab Ads replaces reactive PID budget pacing with a generative bidder that plans 30-minute sequences of per-minute pacing actions.

## 2026-11-23

- [Part 1: Simulation-first AI experimentation for ads at Grab](https://swe.quest/articles/part-1-simulation-first-ai-experimentation-for-ads-at-grab-b9e77470bd59260e.md): Grab Engineering · 2026-11-23 · Medium · 11 min read · Ads, Evaluation, Testing, System design
  Grab built an offline ads simulator that sequentially replays historical ad opportunities, applies candidate bidding, ranking and pacing logic, and probabilistically generates user responses from calibrated engagement models.

## 2026-11-18

- [How Meta Uses AI Agents to Scale ML Innovations Across Ads Ranking Models](https://swe.quest/articles/how-meta-uses-ai-agents-to-scale-ml-innovations-across-ads-ranking-models-28ddfb209a194469.md): Meta Engineering · 2026-11-18 · Easy · 10 min read · AI agents, Recommendations & ranking, Ads, ML platforms, Model training
  Meta uses AI agents to propagate proven ranking-model techniques (e.g. Wukong layers, Interformer, training optimizations) across a large, heterogeneous fleet of ads ranking models, where a technique rarely transfers without adaptation.
- [Design Once, Deploy at Scale: Building a Template-Driven ML Ecosystem](https://swe.quest/articles/design-once-deploy-at-scale-building-a-template-driven-ml-ecosystem-45ef241053332201.md): Meta Engineering · 2026-11-18 · Easy · 8 min read · ML platforms, Recommendations & ranking, Ads, AI agents
  Meta standardized its fragmented ads ranking model fleet into a small set of Standard Model Templates (SMT).

## 2026-11-11

- [Intelligent Delivery: Making Every Unit of Compute Serve Better Ads](https://swe.quest/articles/intelligent-delivery-making-every-unit-of-compute-serve-better-ads-e2f91280ba29b622.md): Meta Engineering · 2026-11-11 · Medium · 9 min read · Ads, Recommendations & ranking, Inference & serving, Capacity planning, AI agents
  Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

## 2026-11-03

- [F3 Lightning: How Meta Accelerates Ads ML Features to Production at Scale](https://swe.quest/articles/f3-lightning-how-meta-accelerates-ads-ml-features-to-production-at-scale-22b2343e1fb13d44.md): Meta Engineering · 2026-11-03 · Medium · 10 min read · ML platforms, Recommendations & ranking, Performance engineering, Deployment, Ads
  F3 Lightning decouples feature releases from shared execution in Meta's ads ML feature framework, so each of 20,000+ features is compiled, validated, deployed and rolled back independently instead of shipping as one all-or-nothing merged DAG.

## 2026-10-29

- [How We Built LangChain’s Paid Media Agent](https://swe.quest/articles/how-we-built-langchain-s-paid-media-agent-c859415582fca684.md): LangChain · 2026-10-29 · Medium · 18 min read · AI agents, LLMs, System design, Ads
  LangChain's Paid Media Agent is a Slack-resident Deep Agent that merges ad-platform data with warehouse pipeline data, produces weekly per-platform PDF reports, answers follow-up questions, and proposes campaign changes for human approval.

## 2026-10-28

- [Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design](https://swe.quest/articles/meta-andromeda-powering-the-next-generation-of-ads-retrieval-through-model-4334615c71f64c69.md): Meta Engineering · 2026-10-28 · Hard · 11 min read · Recommendations & ranking, Ads, Inference & serving, Hardware, Performance engineering
  Meta's next-generation Andromeda ads retrieval engine co-designs model, system and GPU hardware to score every eligible ad with near ranking-level quality at over one billion ads per second per GPU server, a 100x lift over the 2024 system.

## 2026-10-21

- [How we built ChatGPT’s novel ad stack for user trust and relevance](https://swe.quest/articles/how-we-built-chatgpt-s-novel-ad-stack-for-user-trust-and-relevance-d3146d4ee40db504.md): OpenAI · 2026-10-21 · Medium · 14 min read · Ads, AI agents, LLMs, System design, Vector search
  ChatGPT's ad stack replaces the event-driven request/response ads pipeline with stateful ads sessions that track evolving intent across turns and conversations, orchestrated by a post-trained LLM that calls tools for query rewriting, ANN retrieval over multiple embedding indices, eligibility filtering (budget, pacing, targeting, policy, dedup), relevance and engagement scoring, and a separate auction tool that handles pricing and final selection.

## 2026-10-19

- [GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary](https://swe.quest/articles/genrecs-tokenization-transforming-ads-recommendation-at-meta-with-stable-model-e3f3b6ea2626a2c2.md): Meta Engineering · 2026-10-19 · Hard · 6 min read · Recommendations & ranking, Ads, LLMs, Machine learning
  Meta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary.

## 2026-10-13

- [Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI](https://swe.quest/articles/meta-s-generative-ads-model-gem-scaling-the-central-model-and-compute-engine-588a45420da8f0cd.md): Meta Engineering · 2026-10-13 · Hard · 14 min read · Recommendations & ranking, Ads, Model training, Inference & serving, Scaling
  Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

## 2026-10-12

- [Turning Opportunistic AI Inference Capacity Into Better Ads Recommendations](https://swe.quest/articles/turning-opportunistic-ai-inference-capacity-into-better-ads-recommendations-a2893f4d3d62c2b4.md): Meta Engineering · 2026-10-12 · Medium · 10 min read · Ads, Inference & serving, Recommendations & ranking, Resilience, Capacity planning
  Meta aggregates locally idle inference capacity, stranded by peak provisioning, delivery timing, resource-ratio and accelerator-type mismatches, into a preemptible opportunistic pool used to improve ads recommendations.

## 2026-09-17

- [Beyond Two Towers: Launching the 3-Tower Engagement Co-Train Model (Part 2)](https://swe.quest/articles/beyond-two-towers-launching-the-3-tower-engagement-co-train-model-part-2-9d501e5f993d9614.md): Pinterest Engineering · 2026-09-17 · Hard · 13 min read · Recommendations & ranking, Ads, Inference & serving, Performance engineering, Machine learning
  Pinterest's ads lightweight ranking adds a third cross tower to its two-tower engagement model.

## 2026-08-31

- [Scaling Reliable Experimentation in a Two-Sided AdTech Marketplace: ZMS Budget Split](https://swe.quest/articles/scaling-reliable-experimentation-in-a-two-sided-adtech-marketplace-zms-budget-c68e3c8f0c5c3d70.md): Zalando Engineering · 2026-08-31 · Medium · 5 min read · Ads, System design
  In a two-sided retail media marketplace, A/B test variants that draw from shared advertiser budgets violate SUTVA, because a more efficient treatment drains the budget and depresses control metrics (cannibalization bias).

## 2026-08-11

- [One line of Python, and a 3× drop in p99](https://swe.quest/articles/one-line-of-python-and-a-3-drop-in-p99-14f9e1be4e26014c.md): SoundCloud Backstage · 2026-08-11 · Medium · 9 min read · Performance engineering, Python, Observability, Ads
  Removing an unconditional structured-log warning (plus four Prometheus-style metric increments) from a Python ad-decisioning service's hot path cut sustained p99 latency from ~48ms to ~18ms and CPU from 8–10 to 2–4, with pre- and post-deploy latency bands not overlapping at all.

## 2026-08-05

- [From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking](https://swe.quest/articles/from-user-sequences-to-scaling-laws-a-multi-stage-architecture-for-meta-s-ads-3c689db90be36667.md): Meta Engineering · 2026-08-05 · Hard · 6 min read · Recommendations & ranking, Ads, Model training, Machine learning, Scaling
  Meta scales sequence learning for ads ranking by splitting it into two stages: an offline transformer user model processes thousands of user events asynchronously and caches user-level embeddings, and a lightweight online ranking model combines those embeddings with fresh signals and ad candidates under strict latency budgets.

## 2026-08-03

- [GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model](https://swe.quest/articles/gem-training-how-meta-doubled-the-efficiency-of-its-llm-scale-ads-foundation-1bf8547a323404ba.md): Meta Engineering · 2026-08-03 · Hard · 21 min read · Model training, Recommendations & ranking, Performance engineering, Hardware, Ads
  Meta doubled end-to-end training efficiency of GEM, its LLM-scale ads recommendation foundation model, to 20–25% MFU while scaling training FLOPs 4x in a year, by co-designing kernels, precision, parallelism, networking and memory.

## 2026-07-23

- [From Homegrown to Flink: Migrating a Stateful Ad Event Join at Scale](https://swe.quest/articles/from-homegrown-to-flink-migrating-a-stateful-ad-event-join-at-scale-34697efa4030f6e1.md): Zalando Engineering · 2026-07-23 · Hard · 12 min read · Stream processing, Storage engines, Performance engineering, Kubernetes, Ads
  Zalando's Ad Platform team replaced a 7-year-old homegrown Java service that joins ad auction (bid) events with user interaction events within a 15-minute window with an Apache Flink pipeline using RocksDB state and incremental checkpoints.

## 2026-07-15

- [Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization](https://swe.quest/articles/exploring-hierarchical-interest-representation-for-meta-ads-deep-funnel-10b90d80348c21a5.md): Meta Engineering · 2026-07-15 · Hard · 10 min read · Recommendations & ranking, Ads, Machine learning, Model training
  Hierarchical Interest Representation is an upstream representation layer for Meta Ads.

## 2026-07-13

- [Modernizing the Meta Ads Service With an Open-Source Kernel Scheduler](https://swe.quest/articles/modernizing-the-meta-ads-service-with-an-open-source-kernel-scheduler-30126df600f3a60b.md): Meta Engineering · 2026-07-13 · Medium · 5 min read · Linux, Performance engineering, Operating systems, Ads
  Meta replaced the default Linux CFS/EEVDF scheduler on its ads serving fleet with a custom sched\_ext BPF scheduling policy after EEVDF in kernel 6.6+ caused a latency regression that kept some hosts stuck on kernel 6.4.

## 2026-06-02

- [From Scoring to Spelling: Rebuilding Ads Retrieval at Instacart](https://swe.quest/articles/from-scoring-to-spelling-rebuilding-ads-retrieval-at-instacart-1eba18ee15c15a7e.md): Instacart Tech · 2026-06-02 · Hard · 13 min read · Recommendations & ranking, Ads, Inference & serving, ML platforms
  Instacart replaced its BERT-based ads retrieval model, which scored every atomic product ID in a fixed vocabulary, with a generative model that autoregressively decodes Semantic IDs (RQ-VAE codeword sequences) via beam search.

## 2026-05-04

- [Empowering Carrot Ads with Domain Adaptive Learning](https://swe.quest/articles/empowering-carrot-ads-with-domain-adaptive-learning-6fcfdc76882408ae.md): Instacart Tech · 2026-05-04 · Easy · 5 min read · Ads, Recommendations & ranking, Machine learning, Model training
  Instacart tackles the cold-start problem for Carrot Ads partners by transferring knowledge from its data-rich Marketplace (source domain) to new retailer sites (target domain) when predicting click-through rates.

## 2026-03-31

- [Meta Adaptive Ranking Model: Bending the Inference Scaling Curve to Serve LLM-Scale Models for Ads](https://swe.quest/articles/meta-adaptive-ranking-model-bending-the-inference-scaling-curve-to-serve-llm-b02b370caa05f2c4.md): Meta Engineering · 2026-03-31 · Hard · 9 min read · Recommendations & ranking, Inference & serving, Ads, Performance engineering, Hardware
  Meta Adaptive Ranking Model serves LLM-scale ads ranking models (O(10 GFLOPs) per token, O(1T) parameters) at O(100 ms) latency by routing each request to an appropriately complex model and computing user signals once per request instead of once per ad candidate.

## 2026-03-20

- [Making Ads Count: Using MMoE and Auxiliary Tasks to Better Connect Buyers & Sellers](https://swe.quest/articles/making-ads-count-using-mmoe-and-auxiliary-tasks-to-better-connect-buyers-sellers-e96ab585579399da.md): Etsy Code as Craft · 2026-03-20 · Hard · 11 min read · Recommendations & ranking, Ads, Machine learning, Search
  Etsy's Ads Search ranking model replaced its shared-bottom multitask architecture (DCN feature crossing plus CTR and post-click conversion towers with Platt-scaled calibration) with a Multigate Mixture of Experts layer, adding add-to-cart as an uncalibrated auxiliary task.

## 2026-03-17

- [Ranking Engineer Agent (REA): The Autonomous AI Agent Accelerating Meta’s Ads Ranking Innovation](https://swe.quest/articles/ranking-engineer-agent-rea-the-autonomous-ai-agent-accelerating-meta-s-ads-906821be3888f8ab.md): Meta Engineering · 2026-03-17 · Easy · 7 min read · AI agents, ML platforms, Recommendations & ranking, Ads
  Meta's Ranking Engineer Agent (REA) runs ads ranking ML experiments end to end with little human involvement.

## 2026-02-25

- [How InMobi achieved 20x faster queries and 80% cost savings with ClickHouse](https://swe.quest/articles/how-inmobi-achieved-20x-faster-queries-and-80-cost-savings-with-clickhouse-7024c9110d80fdcc.md): ClickHouse · 2026-02-25 · Medium · 8 min read · Analytics & OLAP, Ads, Cost optimization, Data pipelines, Resilience
  InMobi moved its publisher-facing real-time ad reporting APIs from a serverless warehouse on blob storage to ClickHouse.

## 2025-11-20

- [How FabFunnel powers real-time marketing analytics with ClickHouse Cloud](https://swe.quest/articles/how-fabfunnel-powers-real-time-marketing-analytics-with-clickhouse-cloud-693f5ffb0f0b9887.md): ClickHouse · 2025-11-20 · Medium · 5 min read · Analytics & OLAP, Data pipelines, MySQL, Ads, Performance engineering
  FabFunnel moved its marketing analytics off a normalized MySQL reporting stack, where month-long queries took 11 seconds and year-long reports crashed browsers due to client-side merges, to ClickHouse Cloud.

## 2025-11-11

- [Normalized Entropy or Apply Rate? Evaluation Metrics for Online Modeling Experiments](https://swe.quest/articles/normalized-entropy-or-apply-rate-evaluation-metrics-for-online-modeling-3786f3bb14c93f88.md): Indeed Engineering · 2025-11-11 · Medium · 15 min read · Evaluation, Recommendations & ranking, Machine learning, Ads
  Model performance metrics (NE, ROC-AUC, nDCG, calibration metrics) and product metrics (engagement, outcomes, relevance, revenue) can diverge in online ranking experiments, because model objectives are only partially aligned with business goals across ranking, bid-scaling and score-thresholding uses.

## 2025-11-10

- [Meta’s Generative Ads Model (GEM): The Central Brain Accelerating Ads Recommendation AI Innovation](https://swe.quest/articles/meta-s-generative-ads-model-gem-the-central-brain-accelerating-ads-5d5a24731a15c0eb.md): Meta Engineering · 2025-11-10 · Hard · 10 min read · Recommendations & ranking, Ads, Model training, ML platforms
  GEM is Meta's LLM-scale foundation model for ads recommendation, trained on thousands of GPUs and used as a teacher to improve hundreds of downstream vertical ranking models; it lifted ad conversions 5% on Instagram and 3% on Facebook Feed.

## 2024-12-02

- [Meta Andromeda: Supercharging Advantage+ automation with the next-gen personalized ads retrieval engine](https://swe.quest/articles/meta-andromeda-supercharging-advantage-automation-with-the-next-gen-ea5fc57c7e788d2c.md): Meta Engineering · 2024-12-02 · Hard · 7 min read · Recommendations & ranking, Ads, Inference & serving, Hardware, Machine learning
  Andromeda is Meta's ML-based ads retrieval engine that narrows tens of millions of ad candidates to a few thousand per request.

## 2024-11-19

- [Sequence learning: A paradigm shift for personalized ads recommendations](https://swe.quest/articles/sequence-learning-a-paradigm-shift-for-personalized-ads-recommendations-0f4eda06409ac7d5.md): Meta Engineering · 2024-11-19 · Hard · 7 min read · Recommendations & ranking, Ads, Machine learning, Inference & serving
  Meta replaced its DLRM ads ranking models, which depended on thousands of hand-engineered aggregated sparse features, with sequence learning over event-based features (EBFs).

## 2024-10-03

- [Inside the lamp: How GENIEE used ClickHouse to stabilize and optimize ad performance reporting](https://swe.quest/articles/inside-the-lamp-how-geniee-used-clickhouse-to-stabilize-and-optimize-ad-c6ad13bb1e2cf117.md): ClickHouse · 2024-10-03 · Medium · 5 min read · Analytics & OLAP, Stream processing, Ads, Data pipelines
  GENIEE replaced its Kafka-plus-Flink ad reporting pipeline with two ClickHouse clusters, one for log aggregation and one for reporting.

## 2024-09-16

- [Ensuring Even Ad Spend on the Zalando Homepage: How Our New Bidding Algorithm Maximizes Value for Advertisers and Shoppers](https://swe.quest/articles/ensuring-even-ad-spend-on-the-zalando-homepage-how-our-new-bidding-algorithm-bfbd38b714353cd8.md): Zalando Engineering · 2024-09-16 · Medium · 5 min read · Ads, Algorithms, E-commerce
  Zalando Marketing Services replaced its homepage ad bidding formula with a feedback-controlled pacing strategy that scales each bid by (1 − spent)/(1 − expected even spend), splitting budget into hourly buckets based on traffic forecasts.

## 2024-07-10

- [Meta’s approach to machine learning prediction robustness](https://swe.quest/articles/meta-s-approach-to-machine-learning-prediction-robustness-f22ac7dca205dca9.md): Meta Engineering · 2024-07-10 · Easy · 7 min read · ML platforms, Recommendations & ranking, Ads, Observability
  Meta keeps its ads recommendation models reliable with a prediction robustness framework built from three parts: prevention guardrails, root-cause understanding and intrinsic model hardening.

## 2024-02-20

- [The journey of building a comprehensive attribution platform](https://swe.quest/articles/the-journey-of-building-a-comprehensive-attribution-platform-5e6be9b52947e115.md): Grab Engineering · 2024-02-20 · Easy · 8 min read · Ads, Stream processing, Data pipelines, System design
  Grab's ads and promo attribution system evolved from a Kappa-architecture streaming engine to a Lambda architecture that pairs real-time stream processing with Spark batch jobs over S3.

## 2023-04-26

- [How AdGreetz Processes Millions of Daily Ad Impressions with ClickHouse Cloud](https://swe.quest/articles/how-adgreetz-processes-millions-of-daily-ad-impressions-with-clickhouse-cloud-923fb2f6799d75bf.md): ClickHouse · 2023-04-26 · Easy · 3 min read · Analytics & OLAP, Ads, Cost optimization, Serverless
  AdGreetz moved its ad impression analytics from AWS Athena to Snowflake and then to ClickHouse Cloud, citing roughly six times lower cost than a small Snowflake standard plan and sub-second rather than multi-second queries.

## 2022-04-11

- [Private Click Measurement: Conversion Fraud Prevention and Replacement For Tracking Pixels](https://swe.quest/articles/private-click-measurement-conversion-fraud-prevention-and-replacement-for-769973c036d0d7a0.md): WebKit · 2022-04-11 · Medium · 5 min read · Privacy, Ads, Browsers, Cryptography
  Private Click Measurement in iOS/iPadOS 15.4 and macOS Monterey 12.3 adds conversion fraud prevention, letting merchant sites sign unlinkable RSA blind-signature tokens.

## 2022-01-11

- [Admixer Aggregates Over 1 Billion Unique Users a Day using ClickHouse](https://swe.quest/articles/admixer-aggregates-over-1-billion-unique-users-a-day-using-clickhouse-371a80bbeb209b05.md): ClickHouse · 2022-01-11 · Medium · 8 min read · Analytics & OLAP, Ads, Scaling, Data pipelines
  Admixer's ad exchange ingests about 100 billion records a day, over 1 million inserts per second, into a 15-server ClickHouse cluster after outgrowing MSSQL and the per-transaction pricing of Azure Table Storage.

## 2021-11-16

- [PCM for In-App Direct Response Advertising](https://swe.quest/articles/pcm-for-in-app-direct-response-advertising-6558a93640c32fa4.md): WebKit · 2021-11-16 · Medium · 5 min read · Privacy, Ads, Mobile, Browsers, Swift
  Private Click Measurement now supports in-app direct response advertising via a new eventAttribution property on SFSafariViewControllerConfiguration in iOS 15.2 beta, so ad taps can open the merchant page in-app instead of the device browser.

## 2021-07-29

- [PCM: Click Fraud Prevention and Attribution Sent to Advertiser](https://swe.quest/articles/pcm-click-fraud-prevention-and-attribution-sent-to-advertiser-5edbf9c4626a94b0.md): WebKit · 2021-07-29 · Medium · 8 min read · Privacy, Browsers, Ads, Cryptography, Threat detection
  Private Click Measurement in Safari 15 (iOS/iPadOS 15, macOS Monterey) gains three updates.
- [A linear programming approach for optimizing features in ML models](https://swe.quest/articles/a-linear-programming-approach-for-optimizing-features-in-ml-models-4a887cc3d592174d.md): Meta Engineering · 2021-07-29 · Medium · 8 min read · Machine learning, Capacity planning, Algorithms, Python, Ads
  Choosing which ML features to admit under limited infrastructure capacity can be framed as an integer linear program that maximizes model gain subject to per-service capacity constraints.

Same list as RSS: [https://swe.quest/feed.xml?tag=ads](https://swe.quest/feed.xml?tag=ads). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
