# Prepare a Get MCP Ads ad rotation

Weekly rotation of a Meta ad account: reads every ad set and its ads (Meta holds at most 50 non-archived ads per ad set), and proposes, in each ad set near. Works on your own connected ad and analytics accounts. Needs request id and account id.

Weekly rotation of a Meta ad account: reads every ad set and its ads (Meta holds at most 50 non-archived ads per ad set), and proposes, in each ad set near or at the limit, the ads to archive to free the places asked: rejected ads first, then paused ads without delivery, then the weakest paused ads by the chosen metric. Ads younger than protect_days and ads switched on are kept unless include_active. Reads only: show the proposal and ask the person which ads to archive; nothing changes before apply_ad_rotation. weekly saves the same settings so the proposal is prepared every week. Agentik price: $0.05 per call.

- Tool ID: `getmcpads/prepare-ad-rotation`
- Name in the catalog: Get MCP Ads: Prepare ad rotation
- Provider: [Get MCP Ads](/providers/getmcpads.md)
- Capability: [Cross-platform ads reporting](/tools/advertising/cross-platform-reporting.md)
- Price: $0.05 per call
- Workspace access is automatic. Connect a platform using the link and notice returned to your AI assistant; an owner or admin completes platform consent and returns to the conversation; see the [guide](/docs/getmcpads.md).
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.05
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "format": "uuid",
      "description": "New UUID; reuse only to retry."
    },
    "account_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40,
      "description": "Meta ad account (act_… or bare ID), as list_accounts gives it."
    },
    "campaign_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{1,30}$"
      },
      "minItems": 1,
      "maxItems": 50,
      "description": "Only the ad sets of these campaigns. Omit for the whole account."
    },
    "adset_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{1,30}$"
      },
      "minItems": 1,
      "maxItems": 200,
      "description": "Only these ad sets."
    },
    "free_slots": {
      "type": "integer",
      "minimum": 0,
      "maximum": 49,
      "default": 10,
      "description": "Free places wanted in each ad set after the rotation: the week's new ads. Default 10, so an ad set keeps 40 ads."
    },
    "lookback_days": {
      "type": "integer",
      "minimum": 7,
      "maximum": 90,
      "default": 28,
      "description": "Days of delivery read for each ad. Default 28."
    },
    "protect_days": {
      "type": "integer",
      "minimum": 0,
      "maximum": 60,
      "default": 14,
      "description": "Ads younger than this are never proposed. Default 14."
    },
    "rank_by": {
      "type": "string",
      "enum": [
        "cpa",
        "roas",
        "ctr",
        "spend"
      ],
      "default": "cpa",
      "description": "What makes an ad the weakest of its ad set: cpa (cost per purchase, default), roas, ctr or spend (least used)."
    },
    "include_active": {
      "type": "boolean",
      "default": false,
      "description": "Also propose ads still switched on when the paused ones do not free enough places. Only when the person asks."
    },
    "weekly": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "weekday": {
              "type": "string",
              "enum": [
                "sunday",
                "monday",
                "tuesday",
                "wednesday",
                "thursday",
                "friday",
                "saturday"
              ],
              "description": "Day the proposal is prepared each week."
            },
            "hour": {
              "type": "integer",
              "minimum": 0,
              "maximum": 23,
              "default": 8,
              "description": "Hour of that day, in timezone. Default 8."
            },
            "timezone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60,
              "default": "Europe/Paris",
              "description": "IANA time zone of the team."
            }
          },
          "required": [
            "weekday"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Prepare this proposal every week with the same settings, so the team finds it ready; it never archives by itself. null stops the weekly proposal."
    },
    "workspace_id": {
      "type": "string",
      "description": "Authorized workspace ID from list_accounts/list_workspaces. Use the user's chosen workspace; never guess between clients. Optional when a unique account identifies it."
    }
  },
  "required": [
    "requestId",
    "account_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/getmcpads/prepare-ad-rotation) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

## Provider websites

- [Get MCP Ads](https://www.getmcpads.com/)

---

[HTML page](/providers/getmcpads/prepare-ad-rotation) · [Agent index](/llms.txt)
