All docs
Connect

Connect PubMatic accounts and work with deals

TL;DR

A PubMatic connection belongs to one workspace. Give each connection a recognizable label and select the resource that owns the inventory or deals.

Choose an account

  1. 1Open PubMatic MCP. Choose OAuth, enter the resource type and ID from PubMatic, then sign in as a user with access to that resource.
  2. 2For a manually issued access token, choose API access token and supply the same resource details. Replace the token on its connection when it expires. For the separate Deal Management service choose Deal Management API key and enter the key supplied by your PubMatic representative.

Manage Publisher inventory with an API access token

  1. 1Select the token connection for the publisher that owns the site. Search for list_publisher_sites or list_publisher_adtags. Use pageNumber and pageSize to review additional records.
  2. 2To register a website, supply its public URL and the category IDs accepted by the publisher. Read the returned site ID. Confirm any review decision in PubMatic. To create an ad tag, choose the existing site, size and tag name and approve the change.
  3. 3Retrieve an existing script with get_publisher_adtag_code. OpenWrap users can inspect profile tags and request code for a specific version. The availability of each response depends on the Publisher API permissions.

Use a connection

  1. 1Select Review PubMatic resource on the account, or select that named MCP connection in Workspace. Ask which reporting or deal tools are available for that account.
  2. 2External agents can use list_connector_tools, then call_connector_tool with the exact server alias. For raw JSON-RPC, use pubmatic__raw_request over MCP or POST /api/v1/tools/pubmatic__raw_request. Supply connection (the alias), method (tools/list or tools/call), and params. For tools/call, params contains name and arguments. Raw requests require tools:raw and connector access. The named action follows the same rules and approvals.
  3. 3In Alerts, choose this PubMatic connection and set Account issue above zero to email the recipients you select when access is refused or the resource exposes no tools. For recurring reviews, schedule the workspace task and configure its completion or failure emails. A valid sign-in with no tools can indicate missing entitlements or a mismatched resource.