Skip to main content
Glama

AdsAgent — Meta Ads MCP

insights_read_breakdowns

Read country, placement, age, gender, OS, or hourly Meta metrics for one product_ref or product_name and date window. Returns stored rows and full-scope totals; a cache miss may queue a bounded pull and return task_ref. Poll tasks_get_status, then repeat the read with identical filters. Automatic pulls use the existing daily quota; ad delivery is unchanged

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNo
limitNo
ad_idsNo
cursorNo
rollupNodimension
date_toNo
date_fromNo
product_refNo
product_nameNo
breakdown_typeNo
conversion_eventNo
connection_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • removedOutput schema / $defs / s4
      Removed value: -{
      -  "properties": {
      -    "as_of": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "conversion_value": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "conversions": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "status": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s7
      Added value: +{
      +  "properties": {
      +    "as_of": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "conversion_value": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "conversions": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "cache_hint": {
      -        "properties": {
      -          "message": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "count": {
      -        "type": "integer"
      -      },
      -      "dimension_row_count": {
      -        "type": "integer"
      -      },
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "ad_account_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "bid_amount": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "bid_strategy": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "breakdown_key": {
      -              "type": "string"
      -            },
      -            "breakdown_type": {
      -              "type": "string"
      -            },
      -            "budget_level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_row_count": {
      -              "type": "integer"
      -            },
      -            "clicks": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "configured_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "conversion_value": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "conversions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpa": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "ctr": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "currency": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "daily_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "data_as_of_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_from": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_start": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_stop": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_to": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "delivery_issue_codes": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "delivery_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "effective_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "entity_id": {
      -              "type": "string"
      -            },
      -            "entity_name": {
      -              "type": "string"
      -            },
      -            "event_metrics": {
      -              "additionalProperties": {
      -                "properties": {
      -                  "cost_usd": {
      -                    "type": "number"
      -                  },
      -                  "count": {
      -                    "type": "number"
      -                  },
      -                  "cvr_clicks": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "object"
      -            },
      -            "funnel": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "historical_result": {
      -              "$ref": "#/$defs/s4"
      -            },
      -            "id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "impressions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "lifetime_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "metric_completeness": {
      -              "$ref": "#/$defs/s0"
      -            },
      -            "money_unit": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "optimization_goal": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "primary_event_count": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_cpa_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_type": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "reach": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "result_segments": {
      -              "items": {
      -                "properties": {
      -                  "as_of": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "count": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "count_rows": {
      -                    "type": "integer"
      -                  },
      -                  "currency": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "indicator": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "reasons": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "rows": {
      -                    "type": "integer"
      -                  },
      -                  "value": {
      -                    "type": [
      -                      "number",
      -                      "null"
      -                    ]
      -                  },
      -                  "value_currency": {
      -                    "type": [
      -                      "string",
      -                      "null"
      -                    ]
      -                  },
      -                  "value_rows": {
      -                    "type": "integer"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "roas": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "rollup": {
      -              "type": "string"
      -            },
      -            "source_observed_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "spend": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "spend_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "properties": {
      -              "interval_min": {
      -                "type": "integer"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "last_pull_failed_account_count": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "last_pull_scope": {
      -                "const": "workspace"
      -              },
      -              "last_pull_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "last_pulled_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "max_staleness_min": {
      -                "type": "integer"
      -              },
      -              "server_now_utc": {
      -                "type": "string"
      -              },
      -              "staleness_seconds": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metric_completeness": {
      -            "$ref": "#/$defs/s0"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "next_cursor": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "rollup": {
      -        "type": "string"
      -      },
      -      "routing": {
      -        "properties": {
      -          "cache_coverage": {
      -            "properties": {
      -              "products": {
      -                "additionalProperties": {
      -                  "properties": {
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "object"
      -              },
      -              "status": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "decision": {
      -            "type": "string"
      -          },
      -          "pull_breakdowns": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "quota": {
      -            "properties": {
      -              "available": {
      -                "type": "boolean"
      -              },
      -              "limit": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "operator_bypass": {
      -                "type": "boolean"
      -              },
      -              "remaining": {
      -                "type": "integer"
      -              },
      -              "used": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "reason": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "stored_row_count": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "totals": {
      -        "properties": {
      -          "clicks": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversion_value": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpa": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpc": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpm": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "ctr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "funnel": {
      -            "additionalProperties": {
      -              "type": "number"
      -            },
      -            "type": "object"
      -          },
      -          "historical_result": {
      -            "$ref": "#/$defs/s4"
      -          },
      -          "impressions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "metric_completeness": {
      -            "$ref": "#/$defs/s0"
      -          },
      -          "reach": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "result_segments": {
      -            "items": {
      -              "properties": {
      -                "as_of": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "count": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "count_rows": {
      -                  "type": "integer"
      -                },
      -                "currency": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "indicator": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "reasons": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "rows": {
      -                  "type": "integer"
      -                },
      -                "value": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "value_currency": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "value_rows": {
      -                  "type": "integer"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "roas": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend_usd": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "count",
      -      "truncated",
      -      "rollup",
      -      "meta",
      -      "routing"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "poll": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "poll_after_ms": {
      -        "type": "integer"
      -      },
      -      "status": {
      -        "const": "queued"
      -      },
      -      "submitted_new": {
      -        "type": "boolean"
      -      },
      -      "task_ref": {
      -        "type": "string"
      -      },
      -      "task_status": {
      -        "type": "string"
      -      },
      -      "task_type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "task_ref",
      -      "task_status",
      -      "poll_after_ms",
      -      "expires_at",
      -      "poll"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cache_hint": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "count": {
      +        "type": "integer"
      +      },
      +      "dimension_row_count": {
      +        "type": "integer"
      +      },
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "ad_account_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "bid_amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bid_strategy": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "breakdown_key": {
      +              "type": "string"
      +            },
      +            "breakdown_type": {
      +              "type": "string"
      +            },
      +            "budget_level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_row_count": {
      +              "type": "integer"
      +            },
      +            "clicks": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "configured_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "conversion_value": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "conversions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpa": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "ctr": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "daily_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "data_as_of_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_from": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_start": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_stop": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_to": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "delivery_issue_codes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "delivery_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "effective_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "entity_id": {
      +              "type": "string"
      +            },
      +            "entity_name": {
      +              "type": "string"
      +            },
      +            "event_metrics": {
      +              "additionalProperties": {
      +                "properties": {
      +                  "cost_usd": {
      +                    "type": "number"
      +                  },
      +                  "count": {
      +                    "type": "number"
      +                  },
      +                  "cvr_clicks": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "object"
      +            },
      +            "funnel": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "historical_result": {
      +              "$ref": "#/$defs/s7"
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "impressions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "lifetime_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "metric_completeness": {
      +              "$ref": "#/$defs/s0"
      +            },
      +            "money_unit": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "optimization_goal": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "primary_event_count": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_cpa_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "reach": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "result_segments": {
      +              "items": {
      +                "properties": {
      +                  "adset_specs": {
      +                    "items": {
      +                      "items": {
      +                        "properties": {
      +                          "event_type": {
      +                            "type": "string"
      +                          },
      +                          "window_days": {
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": [
      +                        "array",
      +                        "null"
      +                      ]
      +                    },
      +                    "type": "array"
      +                  },
      +                  "as_of": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "count": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "count_rows": {
      +                    "type": "integer"
      +                  },
      +                  "currency": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "indicator": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "mixed_adset_specs": {
      +                    "type": "boolean"
      +                  },
      +                  "reasons": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "rows": {
      +                    "type": "integer"
      +                  },
      +                  "value": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "value_currency": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "value_rows": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "roas": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rollup": {
      +              "type": "string"
      +            },
      +            "source_observed_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "spend": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spend_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "properties": {
      +              "interval_min": {
      +                "type": "integer"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "last_pull_failed_account_count": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "last_pull_scope": {
      +                "const": "workspace"
      +              },
      +              "last_pull_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "last_pulled_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "max_staleness_min": {
      +                "type": "integer"
      +              },
      +              "server_now_utc": {
      +                "type": "string"
      +              },
      +              "staleness_seconds": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s0"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rollup": {
      +        "type": "string"
      +      },
      +      "routing": {
      +        "properties": {
      +          "cache_coverage": {
      +            "properties": {
      +              "products": {
      +                "additionalProperties": {
      +                  "properties": {
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "object"
      +              },
      +              "status": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "decision": {
      +            "type": "string"
      +          },
      +          "pull_breakdowns": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "quota": {
      +            "properties": {
      +              "available": {
      +                "type": "boolean"
      +              },
      +              "limit": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "operator_bypass": {
      +                "type": "boolean"
      +              },
      +              "remaining": {
      +                "type": "integer"
      +              },
      +              "used": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "stored_row_count": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "totals": {
      +        "properties": {
      +          "clicks": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversion_value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpa": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpc": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpm": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "ctr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "funnel": {
      +            "additionalProperties": {
      +              "type": "number"
      +            },
      +            "type": "object"
      +          },
      +          "historical_result": {
      +            "$ref": "#/$defs/s7"
      +          },
      +          "impressions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s0"
      +          },
      +          "reach": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "result_segments": {
      +            "items": {
      +              "properties": {
      +                "adset_specs": {
      +                  "items": {
      +                    "items": {
      +                      "properties": {
      +                        "event_type": {
      +                          "type": "string"
      +                        },
      +                        "window_days": {
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "type": [
      +                      "array",
      +                      "null"
      +                    ]
      +                  },
      +                  "type": "array"
      +                },
      +                "as_of": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "count_rows": {
      +                  "type": "integer"
      +                },
      +                "currency": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "indicator": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "mixed_adset_specs": {
      +                  "type": "boolean"
      +                },
      +                "reasons": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "rows": {
      +                  "type": "integer"
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "value_currency": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_rows": {
      +                  "type": "integer"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "roas": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "count",
      +      "truncated",
      +      "rollup",
      +      "meta",
      +      "routing"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "poll": {
      +        "properties": {
      +          "arguments": {
      +            "properties": {
      +              "product_ref": {
      +                "type": "string"
      +              },
      +              "task_ref": {
      +                "type": "string"
      +              },
      +              "template_name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "poll_after_ms": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "queued"
      +      },
      +      "submitted_new": {
      +        "type": "boolean"
      +      },
      +      "task_ref": {
      +        "type": "string"
      +      },
      +      "task_status": {
      +        "type": "string"
      +      },
      +      "task_type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "task_ref",
      +      "task_status",
      +      "poll_after_ms",
      +      "expires_at",
      +      "poll"
      +    ]
      +  }
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "s0": {
      +    "additionalProperties": {
      +      "properties": {
      +        "complete": {
      +          "type": "boolean"
      +        },
      +        "excluded_rows": {
      +          "type": "integer"
      +        },
      +        "reason": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "object"
      +  },
      +  "s4": {
      +    "properties": {
      +      "as_of": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "conversion_value": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "conversions": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  }
      +}
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ad_ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "cache_hint": {
      -        "properties": {
      -          "message": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "complete": {
      -        "type": "boolean"
      -      },
      -      "count": {
      -        "type": "integer"
      -      },
      -      "dimension_row_count": {
      -        "type": "integer"
      -      },
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "ad_account_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "bid_amount": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "bid_strategy": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "breakdown_key": {
      -              "type": "string"
      -            },
      -            "breakdown_type": {
      -              "type": "string"
      -            },
      -            "budget_level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_row_count": {
      -              "type": "integer"
      -            },
      -            "clicks": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "configured_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "conversion_value": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "conversions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpa": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "ctr": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "currency": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "daily_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "data_as_of_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_from": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_start": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_stop": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_to": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "delivery_issue_codes": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "delivery_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "effective_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "entity_id": {
      -              "type": "string"
      -            },
      -            "entity_name": {
      -              "type": "string"
      -            },
      -            "event_metrics": {
      -              "additionalProperties": {
      -                "properties": {
      -                  "cost_usd": {
      -                    "type": "number"
      -                  },
      -                  "count": {
      -                    "type": "number"
      -                  },
      -                  "cvr_clicks": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "object"
      -            },
      -            "funnel": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "impressions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "lifetime_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "money_unit": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "optimization_goal": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "primary_event_count": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_cpa_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_type": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "reach": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "roas": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "rollup": {
      -              "type": "string"
      -            },
      -            "source_observed_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "spend": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "spend_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "properties": {
      -              "interval_min": {
      -                "type": "integer"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "last_pull_failed_account_count": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "last_pull_scope": {
      -                "const": "workspace"
      -              },
      -              "last_pull_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "last_pulled_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "max_staleness_min": {
      -                "type": "integer"
      -              },
      -              "server_now_utc": {
      -                "type": "string"
      -              },
      -              "staleness_seconds": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "next_cursor": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "rollup": {
      -        "type": "string"
      -      },
      -      "routing": {
      -        "properties": {
      -          "cache_coverage": {
      -            "properties": {
      -              "products": {
      -                "additionalProperties": {
      -                  "properties": {
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "object"
      -              },
      -              "status": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "decision": {
      -            "type": "string"
      -          },
      -          "pull_breakdowns": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "quota": {
      -            "properties": {
      -              "available": {
      -                "type": "boolean"
      -              },
      -              "limit": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "operator_bypass": {
      -                "type": "boolean"
      -              },
      -              "remaining": {
      -                "type": "integer"
      -              },
      -              "used": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "reason": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "stored_row_count": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "totals": {
      -        "properties": {
      -          "clicks": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversion_value": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpa": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpc": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpm": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "ctr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "funnel": {
      -            "additionalProperties": {
      -              "type": "number"
      -            },
      -            "type": "object"
      -          },
      -          "impressions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "reach": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "roas": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend_usd": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "count",
      -      "truncated",
      -      "rollup",
      -      "meta",
      -      "routing"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "poll": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "poll_after_ms": {
      -        "type": "integer"
      -      },
      -      "status": {
      -        "const": "queued"
      -      },
      -      "submitted_new": {
      -        "type": "boolean"
      -      },
      -      "task_ref": {
      -        "type": "string"
      -      },
      -      "task_status": {
      -        "type": "string"
      -      },
      -      "task_type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "task_ref",
      -      "task_status",
      -      "poll_after_ms",
      -      "expires_at",
      -      "poll"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cache_hint": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "count": {
      +        "type": "integer"
      +      },
      +      "dimension_row_count": {
      +        "type": "integer"
      +      },
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "ad_account_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "bid_amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bid_strategy": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "breakdown_key": {
      +              "type": "string"
      +            },
      +            "breakdown_type": {
      +              "type": "string"
      +            },
      +            "budget_level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_row_count": {
      +              "type": "integer"
      +            },
      +            "clicks": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "configured_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "conversion_value": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "conversions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpa": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "ctr": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "daily_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "data_as_of_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_from": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_start": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_stop": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_to": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "delivery_issue_codes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "delivery_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "effective_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "entity_id": {
      +              "type": "string"
      +            },
      +            "entity_name": {
      +              "type": "string"
      +            },
      +            "event_metrics": {
      +              "additionalProperties": {
      +                "properties": {
      +                  "cost_usd": {
      +                    "type": "number"
      +                  },
      +                  "count": {
      +                    "type": "number"
      +                  },
      +                  "cvr_clicks": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "object"
      +            },
      +            "funnel": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "historical_result": {
      +              "$ref": "#/$defs/s4"
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "impressions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "lifetime_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "metric_completeness": {
      +              "$ref": "#/$defs/s0"
      +            },
      +            "money_unit": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "optimization_goal": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "primary_event_count": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_cpa_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "reach": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "result_segments": {
      +              "items": {
      +                "properties": {
      +                  "as_of": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "count": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "count_rows": {
      +                    "type": "integer"
      +                  },
      +                  "currency": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "indicator": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "reasons": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "rows": {
      +                    "type": "integer"
      +                  },
      +                  "value": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "value_currency": {
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "value_rows": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "roas": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rollup": {
      +              "type": "string"
      +            },
      +            "source_observed_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "spend": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spend_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "properties": {
      +              "interval_min": {
      +                "type": "integer"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "last_pull_failed_account_count": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "last_pull_scope": {
      +                "const": "workspace"
      +              },
      +              "last_pull_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "last_pulled_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "max_staleness_min": {
      +                "type": "integer"
      +              },
      +              "server_now_utc": {
      +                "type": "string"
      +              },
      +              "staleness_seconds": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s0"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rollup": {
      +        "type": "string"
      +      },
      +      "routing": {
      +        "properties": {
      +          "cache_coverage": {
      +            "properties": {
      +              "products": {
      +                "additionalProperties": {
      +                  "properties": {
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "object"
      +              },
      +              "status": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "decision": {
      +            "type": "string"
      +          },
      +          "pull_breakdowns": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "quota": {
      +            "properties": {
      +              "available": {
      +                "type": "boolean"
      +              },
      +              "limit": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "operator_bypass": {
      +                "type": "boolean"
      +              },
      +              "remaining": {
      +                "type": "integer"
      +              },
      +              "used": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "stored_row_count": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "totals": {
      +        "properties": {
      +          "clicks": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversion_value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpa": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpc": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpm": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "ctr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "funnel": {
      +            "additionalProperties": {
      +              "type": "number"
      +            },
      +            "type": "object"
      +          },
      +          "historical_result": {
      +            "$ref": "#/$defs/s4"
      +          },
      +          "impressions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s0"
      +          },
      +          "reach": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "result_segments": {
      +            "items": {
      +              "properties": {
      +                "as_of": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "count_rows": {
      +                  "type": "integer"
      +                },
      +                "currency": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "indicator": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "reasons": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "rows": {
      +                  "type": "integer"
      +                },
      +                "value": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "value_currency": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "value_rows": {
      +                  "type": "integer"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "roas": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "count",
      +      "truncated",
      +      "rollup",
      +      "meta",
      +      "routing"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "poll": {
      +        "properties": {
      +          "arguments": {
      +            "properties": {
      +              "product_ref": {
      +                "type": "string"
      +              },
      +              "task_ref": {
      +                "type": "string"
      +              },
      +              "template_name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "poll_after_ms": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "queued"
      +      },
      +      "submitted_new": {
      +        "type": "boolean"
      +      },
      +      "task_ref": {
      +        "type": "string"
      +      },
      +      "task_status": {
      +        "type": "string"
      +      },
      +      "task_type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "task_ref",
      +      "task_status",
      +      "poll_after_ms",
      +      "expires_at",
      +      "poll"
      +    ]
      +  }
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / conversion_event
      Added value: +{
      +  "type": "string"
      +}
  6. Changed4 schema fields changed
    • addedInput schema / properties / ad_ids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / cursor
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / rollup / enum
      Previous value: -[
      -  "dimension",
      -  "campaign"
      -]New value: +[
      +  "dimension",
      +  "campaign",
      +  "ad"
      +]
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "cache_hint": {
      -        "properties": {
      -          "message": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "count": {
      -        "type": "integer"
      -      },
      -      "dimension_row_count": {
      -        "type": "integer"
      -      },
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "ad_account_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "bid_amount": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "bid_strategy": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "breakdown_key": {
      -              "type": "string"
      -            },
      -            "breakdown_type": {
      -              "type": "string"
      -            },
      -            "budget_level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_row_count": {
      -              "type": "integer"
      -            },
      -            "clicks": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "configured_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "conversion_value": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "conversions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpa": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "ctr": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "currency": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "daily_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "data_as_of_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_from": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_start": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_stop": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_to": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "delivery_issue_codes": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "delivery_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "effective_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "entity_id": {
      -              "type": "string"
      -            },
      -            "entity_name": {
      -              "type": "string"
      -            },
      -            "event_metrics": {
      -              "additionalProperties": {
      -                "properties": {
      -                  "cost_usd": {
      -                    "type": "number"
      -                  },
      -                  "count": {
      -                    "type": "number"
      -                  },
      -                  "cvr_clicks": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "object"
      -            },
      -            "funnel": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "impressions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "lifetime_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "money_unit": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "optimization_goal": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "primary_event_count": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_cpa_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_type": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "reach": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "roas": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "rollup": {
      -              "type": "string"
      -            },
      -            "source_observed_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "spend": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "spend_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "properties": {
      -              "interval_min": {
      -                "type": "integer"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "last_pull_failed_account_count": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "last_pull_scope": {
      -                "const": "workspace"
      -              },
      -              "last_pull_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "last_pulled_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "max_staleness_min": {
      -                "type": "integer"
      -              },
      -              "server_now_utc": {
      -                "type": "string"
      -              },
      -              "staleness_seconds": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "rollup": {
      -        "type": "string"
      -      },
      -      "routing": {
      -        "properties": {
      -          "cache_coverage": {
      -            "properties": {
      -              "products": {
      -                "additionalProperties": {
      -                  "properties": {
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "object"
      -              },
      -              "status": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "decision": {
      -            "type": "string"
      -          },
      -          "pull_breakdowns": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "quota": {
      -            "properties": {
      -              "available": {
      -                "type": "boolean"
      -              },
      -              "limit": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "operator_bypass": {
      -                "type": "boolean"
      -              },
      -              "remaining": {
      -                "type": "integer"
      -              },
      -              "used": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "reason": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "stored_row_count": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "totals": {
      -        "properties": {
      -          "clicks": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversion_value": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpa": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpc": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpm": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "ctr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "funnel": {
      -            "additionalProperties": {
      -              "type": "number"
      -            },
      -            "type": "object"
      -          },
      -          "impressions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "reach": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "roas": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend_usd": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "count",
      -      "truncated",
      -      "rollup",
      -      "meta",
      -      "routing"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "poll": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "poll_after_ms": {
      -        "type": "integer"
      -      },
      -      "status": {
      -        "const": "queued"
      -      },
      -      "submitted_new": {
      -        "type": "boolean"
      -      },
      -      "task_ref": {
      -        "type": "string"
      -      },
      -      "task_status": {
      -        "type": "string"
      -      },
      -      "task_type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "task_ref",
      -      "task_status",
      -      "poll_after_ms",
      -      "expires_at",
      -      "poll"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "ad_ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "cache_hint": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "count": {
      +        "type": "integer"
      +      },
      +      "dimension_row_count": {
      +        "type": "integer"
      +      },
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "ad_account_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "bid_amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bid_strategy": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "breakdown_key": {
      +              "type": "string"
      +            },
      +            "breakdown_type": {
      +              "type": "string"
      +            },
      +            "budget_level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_row_count": {
      +              "type": "integer"
      +            },
      +            "clicks": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "configured_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "conversion_value": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "conversions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpa": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "ctr": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "daily_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "data_as_of_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_from": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_start": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_stop": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_to": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "delivery_issue_codes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "delivery_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "effective_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "entity_id": {
      +              "type": "string"
      +            },
      +            "entity_name": {
      +              "type": "string"
      +            },
      +            "event_metrics": {
      +              "additionalProperties": {
      +                "properties": {
      +                  "cost_usd": {
      +                    "type": "number"
      +                  },
      +                  "count": {
      +                    "type": "number"
      +                  },
      +                  "cvr_clicks": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "object"
      +            },
      +            "funnel": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "impressions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "lifetime_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "money_unit": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "optimization_goal": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "primary_event_count": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_cpa_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "reach": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "roas": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rollup": {
      +              "type": "string"
      +            },
      +            "source_observed_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "spend": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spend_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "properties": {
      +              "interval_min": {
      +                "type": "integer"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "last_pull_failed_account_count": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "last_pull_scope": {
      +                "const": "workspace"
      +              },
      +              "last_pull_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "last_pulled_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "max_staleness_min": {
      +                "type": "integer"
      +              },
      +              "server_now_utc": {
      +                "type": "string"
      +              },
      +              "staleness_seconds": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "next_cursor": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rollup": {
      +        "type": "string"
      +      },
      +      "routing": {
      +        "properties": {
      +          "cache_coverage": {
      +            "properties": {
      +              "products": {
      +                "additionalProperties": {
      +                  "properties": {
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "object"
      +              },
      +              "status": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "decision": {
      +            "type": "string"
      +          },
      +          "pull_breakdowns": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "quota": {
      +            "properties": {
      +              "available": {
      +                "type": "boolean"
      +              },
      +              "limit": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "operator_bypass": {
      +                "type": "boolean"
      +              },
      +              "remaining": {
      +                "type": "integer"
      +              },
      +              "used": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "stored_row_count": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "totals": {
      +        "properties": {
      +          "clicks": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversion_value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpa": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpc": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpm": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "ctr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "funnel": {
      +            "additionalProperties": {
      +              "type": "number"
      +            },
      +            "type": "object"
      +          },
      +          "impressions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "reach": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "roas": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "count",
      +      "truncated",
      +      "rollup",
      +      "meta",
      +      "routing"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "poll": {
      +        "properties": {
      +          "arguments": {
      +            "properties": {
      +              "product_ref": {
      +                "type": "string"
      +              },
      +              "task_ref": {
      +                "type": "string"
      +              },
      +              "template_name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "poll_after_ms": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "queued"
      +      },
      +      "submitted_new": {
      +        "type": "boolean"
      +      },
      +      "task_ref": {
      +        "type": "string"
      +      },
      +      "task_status": {
      +        "type": "string"
      +      },
      +      "task_type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "task_ref",
      +      "task_status",
      +      "poll_after_ms",
      +      "expires_at",
      +      "poll"
      +    ]
      +  }
      +]
  7. Changed1 schema field changed
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "cache_hint": {
      -        "properties": {
      -          "message": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "count": {
      -        "type": "integer"
      -      },
      -      "dimension_row_count": {
      -        "type": "integer"
      -      },
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "ad_account_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "ad_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "adset_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "bid_amount": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "bid_strategy": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "breakdown_key": {
      -              "type": "string"
      -            },
      -            "breakdown_type": {
      -              "type": "string"
      -            },
      -            "budget_level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "campaign_row_count": {
      -              "type": "integer"
      -            },
      -            "clicks": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "configured_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "conversion_value": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "conversions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpa": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpc_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "cpm_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "ctr": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "currency": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "daily_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "data_as_of_date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_from": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_start": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_stop": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "date_to": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "delivery_issue_codes": {
      -              "items": {
      -                "type": "string"
      -              },
      -              "type": "array"
      -            },
      -            "delivery_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "effective_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "entity_id": {
      -              "type": "string"
      -            },
      -            "entity_name": {
      -              "type": "string"
      -            },
      -            "event_metrics": {
      -              "additionalProperties": {
      -                "properties": {
      -                  "cost_usd": {
      -                    "type": "number"
      -                  },
      -                  "count": {
      -                    "type": "number"
      -                  },
      -                  "cvr_clicks": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "type": "object"
      -            },
      -            "funnel": {
      -              "additionalProperties": {
      -                "type": "number"
      -              },
      -              "type": "object"
      -            },
      -            "id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "impressions": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "level": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "lifetime_budget": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "money_unit": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "optimization_goal": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "primary_event_count": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_cpa_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "primary_event_name": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_type": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "reach": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "roas": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "rollup": {
      -              "type": "string"
      -            },
      -            "source_observed_at": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "spend": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "spend_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "properties": {
      -              "interval_min": {
      -                "type": "integer"
      -              },
      -              "label": {
      -                "type": "string"
      -              },
      -              "last_pull_failed_account_count": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "last_pull_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "last_pulled_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "max_staleness_min": {
      -                "type": "integer"
      -              },
      -              "server_now_utc": {
      -                "type": "string"
      -              },
      -              "staleness_seconds": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "rollup": {
      -        "type": "string"
      -      },
      -      "routing": {
      -        "properties": {
      -          "cache_coverage": {
      -            "properties": {
      -              "products": {
      -                "additionalProperties": {
      -                  "properties": {
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "object"
      -              },
      -              "status": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "decision": {
      -            "type": "string"
      -          },
      -          "pull_breakdowns": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "quota": {
      -            "properties": {
      -              "available": {
      -                "type": "boolean"
      -              },
      -              "limit": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "operator_bypass": {
      -                "type": "boolean"
      -              },
      -              "remaining": {
      -                "type": "integer"
      -              },
      -              "used": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "reason": {
      -            "type": "string"
      -          },
      -          "recommended_next_tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "stored_row_count": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "totals": {
      -        "properties": {
      -          "clicks": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversion_value": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "conversions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpa": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpc": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "cpm": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "ctr": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "funnel": {
      -            "additionalProperties": {
      -              "type": "number"
      -            },
      -            "type": "object"
      -          },
      -          "impressions": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "reach": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "roas": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "spend_usd": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "truncated": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "count",
      -      "truncated",
      -      "rollup",
      -      "meta",
      -      "routing"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "expires_at": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "poll": {
      -        "properties": {
      -          "arguments": {
      -            "properties": {
      -              "product_ref": {
      -                "type": "string"
      -              },
      -              "task_ref": {
      -                "type": "string"
      -              },
      -              "template_name": {
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "name": {
      -            "type": "string"
      -          },
      -          "tool": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "poll_after_ms": {
      -        "type": "integer"
      -      },
      -      "status": {
      -        "const": "queued"
      -      },
      -      "submitted_new": {
      -        "type": "boolean"
      -      },
      -      "task_ref": {
      -        "type": "string"
      -      },
      -      "task_status": {
      -        "type": "string"
      -      },
      -      "task_type": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "task_ref",
      -      "task_status",
      -      "poll_after_ms",
      -      "expires_at",
      -      "poll"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "cache_hint": {
      +        "properties": {
      +          "message": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "count": {
      +        "type": "integer"
      +      },
      +      "dimension_row_count": {
      +        "type": "integer"
      +      },
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "ad_account_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "ad_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "adset_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "bid_amount": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bid_strategy": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "breakdown_key": {
      +              "type": "string"
      +            },
      +            "breakdown_type": {
      +              "type": "string"
      +            },
      +            "budget_level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "campaign_row_count": {
      +              "type": "integer"
      +            },
      +            "clicks": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "configured_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "conversion_value": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "conversions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpa": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpc_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "cpm_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "ctr": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "currency": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "daily_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "data_as_of_date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_from": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_start": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_stop": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "date_to": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "delivery_issue_codes": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "delivery_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "effective_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "entity_id": {
      +              "type": "string"
      +            },
      +            "entity_name": {
      +              "type": "string"
      +            },
      +            "event_metrics": {
      +              "additionalProperties": {
      +                "properties": {
      +                  "cost_usd": {
      +                    "type": "number"
      +                  },
      +                  "count": {
      +                    "type": "number"
      +                  },
      +                  "cvr_clicks": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "type": "object"
      +            },
      +            "funnel": {
      +              "additionalProperties": {
      +                "type": "number"
      +              },
      +              "type": "object"
      +            },
      +            "id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "impressions": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "level": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "lifetime_budget": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "money_unit": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "optimization_goal": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "primary_event_count": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_cpa_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "primary_event_name": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "reach": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "roas": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rollup": {
      +              "type": "string"
      +            },
      +            "source_observed_at": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "spend": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "spend_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "properties": {
      +              "interval_min": {
      +                "type": "integer"
      +              },
      +              "label": {
      +                "type": "string"
      +              },
      +              "last_pull_failed_account_count": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "last_pull_scope": {
      +                "const": "workspace"
      +              },
      +              "last_pull_status": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "last_pulled_at": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "max_staleness_min": {
      +                "type": "integer"
      +              },
      +              "server_now_utc": {
      +                "type": "string"
      +              },
      +              "staleness_seconds": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "rollup": {
      +        "type": "string"
      +      },
      +      "routing": {
      +        "properties": {
      +          "cache_coverage": {
      +            "properties": {
      +              "products": {
      +                "additionalProperties": {
      +                  "properties": {
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "object"
      +              },
      +              "status": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "decision": {
      +            "type": "string"
      +          },
      +          "pull_breakdowns": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "quota": {
      +            "properties": {
      +              "available": {
      +                "type": "boolean"
      +              },
      +              "limit": {
      +                "type": [
      +                  "integer",
      +                  "null"
      +                ]
      +              },
      +              "operator_bypass": {
      +                "type": "boolean"
      +              },
      +              "remaining": {
      +                "type": "integer"
      +              },
      +              "used": {
      +                "type": "integer"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "reason": {
      +            "type": "string"
      +          },
      +          "recommended_next_tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "stored_row_count": {
      +        "type": [
      +          "integer",
      +          "null"
      +        ]
      +      },
      +      "totals": {
      +        "properties": {
      +          "clicks": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversion_value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "conversions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpa": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpc": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "cpm": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "ctr": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "funnel": {
      +            "additionalProperties": {
      +              "type": "number"
      +            },
      +            "type": "object"
      +          },
      +          "impressions": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "reach": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "roas": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "spend_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "truncated": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "count",
      +      "truncated",
      +      "rollup",
      +      "meta",
      +      "routing"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "expires_at": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "poll": {
      +        "properties": {
      +          "arguments": {
      +            "properties": {
      +              "product_ref": {
      +                "type": "string"
      +              },
      +              "task_ref": {
      +                "type": "string"
      +              },
      +              "template_name": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "tool": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "poll_after_ms": {
      +        "type": "integer"
      +      },
      +      "status": {
      +        "const": "queued"
      +      },
      +      "submitted_new": {
      +        "type": "boolean"
      +      },
      +      "task_ref": {
      +        "type": "string"
      +      },
      +      "task_status": {
      +        "type": "string"
      +      },
      +      "task_type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "task_ref",
      +      "task_status",
      +      "poll_after_ms",
      +      "expires_at",
      +      "poll"
      +    ]
      +  }
      +]
  8. First observed

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations say readOnlyHint=false yet the tool's core action is a read – but the description discloses a bounded pull with quota consumption on cache miss, so the mutation hint aligns with the latent write/pull behavior. It also describes the async task_ref return and polling flow, adding real context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences front-load the scope, then the return/cache behavior, then the operational consequence. No filler, though the final quota sentence packs two ideas together.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists and the async task_ref flow is explained, but with 12 undocumented parameters and no guidance on defaults or filter combinations, an agent could easily misinvoke. Explanation of what the pull consumes (daily quota) is a plus but overall coverage is thin for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for 12 bare parameters. It mentions breakdown_type options, product_ref/product_name, and date window, but leaves level, rollup, limit, cursor, ad_ids, conversion_event, and connection_context unexplained – a large gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (read) and resource (Meta breakdowns: country, placement, age, gender, OS, hourly) scoped to one product and date window. It distinguishes itself from query siblings by naming the breakdown dimensions, though it doesn't explicitly differentiate from insights_pull_product_breakdowns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied via the cache-miss workflow (poll tasks_get_status, repeat read with identical filters), which is helpful. But there's no explicit when-to-use vs. insights_query_overview or insights_pull_product_breakdowns, so alternative selection is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources