---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?difficulty=medium&tag=ads"
---

# Posts

Filtered by topics: Ads, difficulty: medium.

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

## 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-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-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-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-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-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-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.

## 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.

## 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?difficulty=medium&tag=ads](https://swe.quest/feed.xml?difficulty=medium&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)
