Skip to main content
Glama
JanNafta

PropellerAds MCP Server

by JanNafta

add_to_blacklist

Block specific zones from displaying ads in a PropellerAds campaign to improve targeting and performance by excluding underperforming placements.

Instructions

Add zones to campaign blacklist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaign_idYesCampaign ID
zone_idsYesZone IDs to blacklist

Implementation Reference

  • The handler logic for add_to_blacklist, which calls the client's add_zones_to_blacklist method.
    elif name == "add_to_blacklist":
        result = client.add_zones_to_blacklist(args["campaign_id"], args["zone_ids"])
        return f"Added {len(args['zone_ids'])} zones to blacklist for campaign {args['campaign_id']}.\n\n{json.dumps(result, indent=2)}"
  • The schema definition for the add_to_blacklist tool, including input parameters.
    Tool(
        name="add_to_blacklist",
        description="Add zones to campaign blacklist.",
        inputSchema={
            "type": "object",
            "properties": {
                "campaign_id": {"type": "integer", "description": "Campaign ID"},
                "zone_ids": {
                    "type": "array",
                    "items": {"type": "integer"},
                    "description": "Zone IDs to blacklist",
                },
            },
            "required": ["campaign_id", "zone_ids"],
        },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JanNafta/propellerads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server