Skip to content

Commit 4766574

Browse files
Align docs with FIXED_BID_CPM of $0.20
Update all references from $0.01 to $0.20 across docs, CLAUDE.md, and inline code comments to match the actual constant value.
1 parent 5a8fc3e commit 4766574

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ through `render.rs`. Do not inline ad markup in handlers.
150150

151151
## Key Constants
152152

153-
- `FIXED_BID_CPM: f64 = 0.01` — fixed price for all Mocktioneer-generated bids
153+
- `FIXED_BID_CPM: f64 = 0.20` — fixed price for all Mocktioneer-generated bids
154154
- `SIZE_MAP` — 13 standard IAB sizes via `phf::Map` (300x250, 728x90, 320x50, etc.)
155155

156156
## CI Gates

docs/api/aps-bid.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ The price encoding differs between real APS and Mocktioneer:
115115
Decode Mocktioneer prices:
116116

117117
```bash
118-
echo "MC4wMQ==" | base64 -d
119-
# Output: 0.01
118+
echo "MC4yMA==" | base64 -d
119+
# Output: 0.20
120120
```
121121

122122
## Examples

docs/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ All responses include CORS headers (`Access-Control-Allow-Origin: *`, etc.). See
5858

5959
## Supported Ad Sizes {#supported-sizes}
6060

61-
Mocktioneer supports these standard IAB sizes. All auction bids use a fixed price of `$0.01` CPM.
61+
Mocktioneer supports these standard IAB sizes. All auction bids use a fixed price of `$0.20` CPM.
6262

6363
| Size | Name |
6464
| ------- | ----------------------------- |

docs/api/openrtb-auction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Size is determined in this order:
103103
{
104104
"id": "019abc123",
105105
"impid": "imp-1",
106-
"price": 0.01,
106+
"price": 0.20,
107107
"adm": "<iframe src=\"//localhost:8787/static/creatives/300x250.html?crid=mocktioneer-imp-1\" width=\"300\" height=\"250\" frameborder=\"0\" scrolling=\"no\"></iframe>",
108108
"adomain": ["example.com"],
109109
"crid": "mocktioneer-imp-1",
@@ -139,7 +139,7 @@ Size is determined in this order:
139139

140140
## Pricing
141141

142-
Mocktioneer returns a fixed bid price of `$0.01` CPM for auction responses.
142+
Mocktioneer returns a fixed bid price of `$0.20` CPM for auction responses.
143143

144144
If `imp[].ext.mocktioneer.bid` is present, it is ignored.
145145

docs/guide/what-is-mocktioneer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Mocktioneer provides:
4848
| --------------- | --------------------------------------------- |
4949
| Multi-platform | Runs on Fastly, Cloudflare, and native Axum |
5050
| Manifest-driven | Single `edgezero.toml` configures everything |
51-
| Fixed pricing | Always returns `$0.01` CPM for generated bids |
51+
| Fixed pricing | Always returns `$0.20` CPM for generated bids |
5252
| Standard sizes | Supports common IAB ad sizes |
5353
| Cookie tracking | Optional pixel tracking with `mtkid` cookie |
5454
| CORS enabled | Works with browser-based clients |

docs/integrations/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Mocktioneer acts as a drop-in replacement for real bidders during development an
4848

4949
- Same request always produces same response
5050
- No flaky tests due to bidder variability
51-
- Fixed $0.01 bids for predictable floor testing
51+
- Fixed $0.20 bids for predictable floor testing
5252

5353
### No External Dependencies
5454

@@ -148,7 +148,7 @@ Test price handling and floor logic:
148148
}
149149
```
150150

151-
Mocktioneer always bids at `$0.01` CPM, so floors above that value should reject bids.
151+
Mocktioneer always bids at `$0.20` CPM, so floors above that value should reject bids.
152152

153153
### Error Handling
154154

docs/integrations/prebid-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Override the endpoint for specific requests:
9191
| ---------- | ------------------ | ------ | ------------------------- |
9292
| `endpoint` | `imp[].ext.bidder` | string | Override auction endpoint |
9393

94-
Mocktioneer always returns a fixed bid price of `$0.01` CPM.
94+
Mocktioneer always returns a fixed bid price of `$0.20` CPM.
9595

9696
## Response Handling
9797

@@ -106,7 +106,7 @@ Prebid Server processes Mocktioneer responses like any other bidder:
106106
{
107107
"id": "019abc-mocktioneer",
108108
"impid": "imp-1",
109-
"price": 0.01,
109+
"price": 0.20,
110110
"adm": "<iframe>...</iframe>",
111111
"crid": "019abc-mocktioneer",
112112
"w": 300,
@@ -273,7 +273,7 @@ Include Mocktioneer alongside real bidders:
273273

274274
### Price Floor Testing
275275

276-
Test floor enforcement (Mocktioneer bids at `$0.01` which will be below most floors):
276+
Test floor enforcement (Mocktioneer bids at `$0.20` which will be below most floors):
277277

278278
```json
279279
{

docs/integrations/prebidjs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ params: {
7474
| ---------- | ------ | -------- | --------------------------- |
7575
| `endpoint` | string | No | Custom auction endpoint URL |
7676

77-
Mocktioneer always returns a fixed bid price of `$0.01` CPM.
77+
Mocktioneer always returns a fixed bid price of `$0.20` CPM.
7878

7979
## Example Page
8080

0 commit comments

Comments
 (0)