Sponsored Answer (OpenRTB 2.6) Builder & Validator

    1

    Build, validate and insert labelled sponsored answers for AI chat, using the MS Ads OpenRTB 2.6 Sponsored Answer draft. Runs locally with no network calls.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Sponsored Answer (OpenRTB 2.6) Builder & Validator

    Example session with this skill installed

    Create an OpenRTB 2.6 bid request for a user in Karachi looking for wireless earbuds under 15k PKR. The bot uses Roman Urdu. Save it to request.json.

    • Read your context and instructions
    • Compiled the sponsored answer openrtb

    I have generated the OpenRTB 2.6 bid request payload. It includes the ext.agent and imp.ext.skad objects required for the MS Ads Sponsored Answer extension, specifically configured for Roman Urdu (ur-Latn) and the PKR price floor.

    Bid Request Payload

    {
      "id": "req_78901234",
      "at": 2,
      "tmax": 500,
      "imp": [
        {
          "id": "1",
          "instl": 0,
          "bidfloor": 10.0,
          "bidfloorcur": "PKR",
          "ext": {
            "skad": {
              "formats": ["card", "text"],
              "position": "after_answer",
              "pricing": ["cpc"]
            }
          }
        }
      ],
      "user": {
        "keywords": "earbuds,bluetooth,audio"
      },
      "device": {
        "geo": {
          "country": "PAK",
          "city": "Karachi"
        }
      },
      "ext": {
        "agent": {
          "id": "agt_shop_demo",
          "intent": "purchase",
          "summary": "User wants wireless earbuds under PKR 15k, Karachi delivery",
          "lang": "ur",
          "script": "Latn",
          "variant": "romanized"
        }
      }
    }
    

    Next steps

    1. Run python3 scripts/sa_validate.py validate request.json to confirm schema compliance.
    2. Use this file as a template to build a corresponding response.json.
    3. Check reference/disclosure-and-insertion.md for rendering rules.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    This skill helps a developer agent build and check OpenRTB 2.6 bid requests, bid responses and events that use the MS Ads Sponsored Answer extension, then insert a labelled sponsored block into an assistant reply.

    It ships a pure Python 3 validator and builder (standard library only) that makes no network calls and handles no credentials. It applies the v0.1-draft rules: required agent and slot fields, Roman Urdu and mixed-language tags, consent and no-bid conditions, forbidden identifiers, disclosure labels and placement, slot pairing, and a ban on unverifiable claims. Render writes markdown, plain text or HTML with the label first and the sponsor visible, and will not render an invalid payload.

    Use it to scaffold JSON, debug a host or DSP integration, or keep organic and sponsored text apart. The skill summarises the public draft and links back to the specification. It is not a live bidder and does not quote earnings. The normative spec is https://github.com/msadsnetwork/sponsored-answer-spec and https://standards.msadsnetwork.com/specs/sponsored-answer.

    Draft specification (v0.1). The helper is not a full OpenRTB 2.6 linter and does not bid or send events. Official schemas in the GitHub repository remain authoritative if they change.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    • Free with an Agensi account

    Requires

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a local Python-based environment to build and validate MS Ads Sponsored Answer payloads, ensuring your JSON structures meet strict v0.1-draft privacy and disclosure requirements before they reach production.

    Yes, the validator is a self-contained Python script that uses only the standard library, meaning it runs entirely on your local machine without making external network calls or exposing sensitive user intent data.

    While it is designed for MS Ads OpenRTB 2.6 extensions, the core logic can be adapted for any AI agent that requires structured, ad-supported responses with specific disclosure labels and event tracking.

    The skill generates the mandatory 'shown', 'clicked', and 'accepted' event payloads required for accurate client-side tracking, ensuring your attribution data is formatted correctly for reporting.

    You receive the full Python validation script, templates for bid requests and responses, and the rendering logic for inserting disclosures into markdown, HTML, or plain text replies.

    This skill is purpose-built for the MS Ads Sponsored Answer v0.1-draft; it is not intended for general OpenRTB 2.6 linting or live real-time bidding (RTB) operations.

    New in Marketing & SEO