Skip to content

feat: Add TIME pricing model for sponsorship-based advertising #930

Closed

Description

@bokelley

Summary

Add a new time pricing model to support sponsorship-based advertising where price scales with campaign duration. This complements the existing flat_rate model which represents a fixed total cost.

Problem

Currently, FLAT_RATE means "fixed total cost for the campaign regardless of duration":

  • Seller creates product with fixed_price: 500000
  • Buyer sees $500K but doesn't know if that's for 3 days or 30 days
  • If buyer wants a different duration, seller must create a new product or negotiate offline

Real sponsorship deals are often priced per time unit:

  • "Homepage takeover - $50,000/day"
  • "Section sponsorship - $100,000/week"
  • "Premium placement - $250,000/month"

These require buyers to self-serve any duration without seller intervention.

Proposed Solution

Add a new pricing model time with a time_unit parameter:

{
  "pricing_model": "time",
  "pricing_option_id": "homepage-daily",
  "currency": "USD",
  "fixed_price": 50000,
  "parameters": {
    "time_unit": "day"
  }
}

Time Units

Value Description Calculation
day Cost per calendar day rate × days in flight
week Cost per 7-day week rate × weeks (rounded)
month Cost per calendar month rate × months (pro-rated)

Buyer Experience

  1. Seller creates product: "Homepage sponsorship, $50K/day"
  2. Buyer calls create_media_buy with dates Jan 15-17 (3 days)
  3. System calculates: 3 × $50,000 = $150,000 total budget
  4. Buyer can self-serve any duration

Comparison with FLAT_RATE

Aspect FLAT_RATE TIME
Semantics Fixed total Rate × duration
fixed_price Total campaign cost Cost per time unit
Buyer flexibility Must negotiate duration Self-serve any duration
Use case Fixed sponsorships Scalable sponsorships

Schema Addition

New pricing_options/time_option.json

{
  "$id": "https://adcontextprotocol.org/schemas/pricing_options/time_option.json",
  "title": "Time-Based Pricing Option",
  "description": "Cost per time unit - rate scales with campaign duration",
  "type": "object",
  "required": ["pricing_model", "pricing_option_id", "currency"],
  "properties": {
    "pricing_model": {
      "type": "string",
      "const": "time",
      "description": "Cost per time unit (day, week, or month)"
    },
    "pricing_option_id": {
      "type": "string",
      "description": "Unique identifier for this pricing option"
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "ISO 4217 currency code"
    },
    "fixed_price": {
      "type": "number",
      "minimum": 0,
      "description": "Cost per time unit. Required for fixed pricing."
    },
    "floor_price": {
      "type": "number",
      "minimum": 0,
      "description": "Minimum acceptable bid per time unit for auction pricing"
    },
    "parameters": {
      "type": "object",
      "required": ["time_unit"],
      "properties": {
        "time_unit": {
          "type": "string",
          "enum": ["day", "week", "month"],
          "description": "The time unit for pricing (required for time model)"
        },
        "min_duration": {
          "type": "integer",
          "minimum": 1,
          "description": "Minimum booking duration in time_units"
        },
        "max_duration": {
          "type": "integer",
          "minimum": 1,
          "description": "Maximum booking duration in time_units"
        }
      }
    },
    "price_guidance": {
      "$ref": "../core/price_guidance.json"
    },
    "min_spend_per_package": {
      "type": "number",
      "minimum": 0,
      "description": "Minimum spend per package"
    }
  }
}

Update enums/pricing_model.json

{
  "enum": ["cpm", "vcpm", "cpc", "cpcv", "cpv", "cpp", "flat_rate", "time"]
}

Backwards Compatibility

  • Existing flat_rate unchanged - still means "fixed total"
  • New time model is additive
  • Sellers can offer both on same product (fixed total OR daily rate)

Industry Precedent

  • GAM: SPONSORSHIP line items use CPD (cost per day) internally
  • DV360: Time-based buys for programmatic guaranteed
  • Direct sales: IOPs commonly quote daily/weekly/monthly rates

Related

  • Current flat_rate parameters include duration_hours but as informational only
  • This formalizes time-based pricing as a first-class model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions