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

# 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–24 of 41, page 1 of 2, 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.

[Next page](https://swe.quest/tags/ads.md?page=2)

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)
