diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index f18b194..d932fa7 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -107,7 +107,7 @@ Dashboard: **Stripe** (immediate, connection test), **PayPal** (immediate, conne ## Advertising -Dashboard: **Google AdSense** (immediate). +Dashboard: **Google AdSense** (immediate), **Adsterra** (immediate), **Ad placements** (immediate). ## Analytics diff --git a/docs/production-repair/ads-setup.md b/docs/production-repair/ads-setup.md new file mode 100644 index 0000000..a1c57d9 --- /dev/null +++ b/docs/production-repair/ads-setup.md @@ -0,0 +1,78 @@ +# Advertising — Adsterra units, AdSense priority, placements + +## Where it is configured (one system) + +Admin → Settings → **Advertising** now has three sections, all in the same settings service as before: + +* **Google AdSense** (existing): publisher ID, Auto ads, ads.txt. +* **Adsterra** (new): on/off, ad server host (`bauval.org`) and the six unit keys, pre-filled with the supplied codes, plus *Frame isolation*. +* **Ad placements** (new): placements on/off, preferred provider, "My AdSense site and ad units are approved", and an optional AdSense unit ID per placement. + +## The six units (unchanged IDs, keys, domain and sizes) + +| Unit | Key / ID | Script | +|---|---|---| +| Native Banner | `2551bb0538e1d6f96d5844f91de7e70d` | `https://bauval.org/21/` + `
` | +| 468 × 60 | `c48a5f48afbd920b94c779e34cbe26f8` | `atOptions` + `https://bauval.org/22/` | +| 300 × 250 | `71f63cdca7866f4ff5d8f2c07764ccdd` | 〃 | +| 160 × 600 | `8f136dfb344bddf64040a81be40b2730` | 〃 | +| 728 × 90 | `f66f57ed50fa3f1c7686f5fda2f6b167` | 〃 | +| 320 × 50 | `ce450a64b7d6fcc6866e4901d5e8153b` | 〃 | + +The E2E test fetches every frame and compares it with the supplied code character for character. + +## How one unit is rendered (isolation) + +The supplied codes share the global `atOptions`, and placing several on one page lets the last one overwrite the others. So **each placement is its own document**: + +``` +page ──