{
  "info": {
    "name": "Biblioteca de Anúncios — mcp.ai",
    "description": "REST API for the Biblioteca de Anúncios MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/ad_library",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "ad_library_company_ads",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/company/ads",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "company",
            "ads"
          ]
        },
        "description": "List every ad one specific advertiser is running, given its `page_id` (get it from ad_library_search_advertisers). Use it to map a single competitor's whole campaign: which offers, which copy, which l",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page_id\": \"\",\n  \"country\": \"\",\n  \"limit\": 0,\n  \"cursor\": \"\",\n  \"page_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ad_library_search_ads",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/ads",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "ads"
          ]
        },
        "description": "Find ads a competitor (or any company) is currently running on Instagram and Facebook for a keyword, using Meta's public ad library. Returns each ad's advertiser, copy, headline, call to action, landi",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"query\": \"\",\n  \"country\": \"\",\n  \"limit\": 0,\n  \"cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ad_library_search_advertisers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/advertisers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "advertisers"
          ]
        },
        "description": "Look up advertisers by company name and get their page id, category, follower/like counts and Instagram handle when available. Use it to turn a company name into the `page_id` that ad_library_company_",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"query\": \"\",\n  \"limit\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}