removedOutput schema / $defs
Removed value: -{
- "s0": {
- "properties": {
- "ad_account_id": {
- "type": "string"
- },
- "product_name": {
- "type": "string"
- },
- "product_ref": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "s1": {
- "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"
- ]
- },
- "budget_level": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "clicks": {
- "type": [
- "number",
- "null"
- ]
- },
- "configured_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "configured_status_observed_at": {
- "$ref": "#/$defs/sc"
- },
- "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"
- ]
- },
- "currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "data_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "date": {
- "type": [
- "string",
- "null"
- ]
- },
- "date_start": {
- "type": [
- "string",
- "null"
- ]
- },
- "date_stop": {
- "type": [
- "string",
- "null"
- ]
- },
- "delivery_issue_codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "delivery_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "effective_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "funnel": {
- "$ref": "#/$defs/sb"
- },
- "funnel_observation": {
- "$ref": "#/$defs/sd"
- },
- "historical_result": {
- "$ref": "#/$defs/sa"
- },
- "id": {
- "type": [
- "string",
- "null"
- ]
- },
- "impressions": {
- "type": [
- "number",
- "null"
- ]
- },
- "lifetime_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "metric_completeness": {
- "$ref": "#/$defs/s3"
- },
- "money_unit": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "optimization_goal": {
- "type": [
- "string",
- "null"
- ]
- },
- "product_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "reach": {
- "type": [
- "number",
- "null"
- ]
- },
- "result_segments": {
- "$ref": "#/$defs/s5"
- },
- "roas": {
- "type": [
- "number",
- "null"
- ]
- },
- "source_observed_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "spend": {
- "type": [
- "number",
- "null"
- ]
- },
- "spend_usd": {
- "type": [
- "number",
- "null"
- ]
- },
- "status": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "s10": {
- "properties": {
- "coverage_requirement": {
- "const": "verify_insights_and_source_coverage"
- },
- "empty_funnel_interpretation": {
- "const": "no_selected_events_returned_not_zero_proof"
- },
- "missing_event_implies_missing_insights": {
- "const": false
- },
- "missing_event_is_zero": {
- "const": false
- },
- "read_coverage_scope": {
- "const": "query_result_not_upstream_ingestion"
- },
- "representation": {
- "const": "sparse"
- }
- },
- "type": "object"
- },
- "s11": {
- "properties": {
- "cache_hit": {
- "type": "boolean"
- },
- "coalesced": {
- "type": "boolean"
- },
- "complete": {
- "type": "boolean"
- },
- "data_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "data_freshness": {
- "$ref": "#/$defs/s12"
- },
- "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"
- },
- "funnel_incomplete": {
- "type": "boolean"
- },
- "funnel_read_coverage": {
- "properties": {
- "complete": {
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "has_more": {
- "type": "boolean"
- },
- "item_count": {
- "type": "integer"
- },
- "limitations": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "metric_completeness": {
- "$ref": "#/$defs/s3"
- },
- "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"
- ]
- },
- "standard_metrics_complete": {
- "type": "boolean"
- },
- "succeeded": {
- "type": "integer"
- },
- "total_count": {
- "type": [
- "integer",
- "null"
- ]
- },
- "total_items": {
- "type": "integer"
- },
- "total_pages": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- "s12": {
- "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"
- },
- "s18": {
- "properties": {
- "category": {
- "type": "string"
- },
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "retry_after_seconds": {
- "type": [
- "integer",
- "null"
- ]
- },
- "retryable": {
- "type": "boolean"
- },
- "subcode": {
- "type": "string"
- }
- },
- "type": [
- "null",
- "object"
- ]
- },
- "s19": {
- "properties": {
- "arguments": {
- "properties": {
- "product_ref": {
- "type": "string"
- },
- "task_ref": {
- "type": "string"
- },
- "template_name": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "type": [
- "null",
- "object"
- ]
- },
- "s1b": {
- "properties": {
- "cache_hit": {
- "type": "boolean"
- },
- "coalesced": {
- "type": "boolean"
- },
- "complete": {
- "type": "boolean"
- },
- "data_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "data_freshness": {
- "$ref": "#/$defs/s12"
- },
- "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/s3"
- },
- "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"
- },
- "s1c": {
- "properties": {
- "can_report_stored_total": {
- "type": "boolean"
- },
- "reason": {
- "type": "string"
- },
- "zero_proven": {
- "type": "boolean"
- }
- },
- "required": [
- "can_report_stored_total",
- "zero_proven",
- "reason"
- ],
- "type": "object"
- },
- "s3": {
- "additionalProperties": {
- "properties": {
- "complete": {
- "type": "boolean"
- },
- "excluded_rows": {
- "type": "integer"
- },
- "reason": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "object"
- },
- "s5": {
- "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"
- },
- "sa": {
- "properties": {
- "as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "conversion_value": {
- "type": [
- "number",
- "null"
- ]
- },
- "conversions": {
- "type": [
- "number",
- "null"
- ]
- },
- "status": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "sb": {
- "additionalProperties": {
- "type": [
- "number",
- "null"
- ]
- },
- "type": "object"
- },
- "sc": {
- "description": "Configuration snapshot time only.",
- "format": "date-time",
- "type": "string"
- },
- "sd": {
- "properties": {
- "proves_source_coverage": {
- "const": false
- },
- "proves_zero": {
- "const": false
- },
- "status": {
- "enum": [
- "selected_events_returned",
- "no_selected_events_returned",
- "read_unverified",
- "insights_unavailable"
- ]
- }
- },
- "type": "object"
- },
- "sf": {
- "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": {
- "$ref": "#/$defs/sb"
- },
- "historical_result": {
- "$ref": "#/$defs/sa"
- },
- "impressions": {
- "type": [
- "number",
- "null"
- ]
- },
- "metric_completeness": {
- "$ref": "#/$defs/s3"
- },
- "reach": {
- "type": [
- "number",
- "null"
- ]
- },
- "result_segments": {
- "$ref": "#/$defs/s5"
- },
- "roas": {
- "type": [
- "number",
- "null"
- ]
- },
- "spend": {
- "type": [
- "number",
- "null"
- ]
- },
- "spend_usd": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- }
-}
changedOutput schema / else / else / anyOf
Previous value: -[
- {
- "properties": {
- "complete": {
- "type": "boolean"
- },
- "meta": {
- "$ref": "#/$defs/s1b"
- },
- "next_action": {
- "$ref": "#/$defs/s19"
- },
- "ok": {
- "type": "boolean"
- },
- "results": {
- "items": {
- "properties": {
- "data": {
- "properties": {
- "daily": {
- "$ref": "#/$defs/s1"
- },
- "funnel_events": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "funnel_semantics": {
- "$ref": "#/$defs/s10"
- },
- "items": {
- "$ref": "#/$defs/s1"
- },
- "meta": {
- "$ref": "#/$defs/s11"
- },
- "summary": {
- "$ref": "#/$defs/sf"
- }
- },
- "type": [
- "null",
- "object"
- ]
- },
- "error": {
- "$ref": "#/$defs/s18"
- },
- "metrics_evidence": {
- "properties": {
- "source": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "zero_proven": {
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "ok": {
- "type": "boolean"
- },
- "poll_after_ms": {
- "type": [
- "integer",
- "null"
- ]
- },
- "query_contract": {
- "properties": {
- "complete": {
- "type": "boolean"
- },
- "coverage": {
- "properties": {
- "account_coverage": {
- "properties": {
- "items": {
- "items": {
- "properties": {
- "ad_account_id": {
- "type": "string"
- },
- "complete": {
- "type": "boolean"
- },
- "source_observed_at": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "latest_attempt_evaluated": {
- "const": false
- },
- "proves_ad_metrics": {
- "const": false
- },
- "requested_account_count": {
- "type": "integer"
- },
- "returned_count": {
- "type": "integer"
- },
- "source": {
- "const": "query_watermarks"
- },
- "truncated": {
- "type": "boolean"
- },
- "unverified_account_count": {
- "type": "integer"
- },
- "verified_account_count": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- "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"
- },
- "source_watermark": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "scope": {
- "$ref": "#/$defs/s0"
- },
- "scope_index": {
- "type": "integer"
- },
- "status": {
- "type": "string"
- },
- "task_ref": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "scope_index",
- "scope",
- "ok",
- "status",
- "data",
- "query_contract",
- "task_ref",
- "poll_after_ms",
- "error"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "schema_version": {
- "type": "integer"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "ok",
- "status",
- "complete",
- "results",
- "next_action",
- "meta"
- ]
- },
- {
- "properties": {
- "data": {
- "properties": {
- "daily": {
- "$ref": "#/$defs/s1"
- },
- "funnel_events": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "funnel_semantics": {
- "$ref": "#/$defs/s10"
- },
- "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"
- ]
- },
- "budget_level": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "clicks": {
- "type": [
- "number",
- "null"
- ]
- },
- "configured_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "configured_status_observed_at": {
- "$ref": "#/$defs/sc"
- },
- "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"
- ]
- },
- "currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "data": {
- "properties": {
- "daily": {
- "$ref": "#/$defs/s1"
- },
- "effective_attribution": {
- "type": "string"
- },
- "funnel_events": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "funnel_semantics": {
- "$ref": "#/$defs/s10"
- },
- "items": {
- "$ref": "#/$defs/s1"
- },
- "meta": {
- "$ref": "#/$defs/s11"
- },
- "page_metrics": {
- "properties": {
- "attribution": {
- "properties": {
- "requested": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "window": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "metric_scope": {
- "const": "whole_product_card"
- },
- "primary": {
- "properties": {
- "action_key": {
- "type": "string"
- },
- "cost": {
- "type": [
- "number",
- "null"
- ]
- },
- "cost_status": {
- "type": "string"
- },
- "currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "value": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "profiles": {
- "items": {
- "properties": {
- "kpi_profile": {
- "type": "string"
- },
- "primary": {
- "properties": {
- "cost": {
- "type": [
- "number",
- "null"
- ]
- },
- "status": {
- "type": "string"
- },
- "value": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "summary": {
- "$ref": "#/$defs/sf"
- }
- },
- "required": [
- "items",
- "meta"
- ],
- "type": [
- "null",
- "object"
- ]
- },
- "data_as_of_date": {
- "type": [
- "string",
- "null"
- ]
- },
- "date": {
- "type": [
- "string",
- "null"
- ]
- },
- "date_start": {
- "type": [
- "string",
- "null"
- ]
- },
- "date_stop": {
- "type": [
- "string",
- "null"
- ]
- },
- "delivery_issue_codes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "delivery_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "effective_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "error": {
- "$ref": "#/$defs/s18"
- },
- "funnel": {
- "$ref": "#/$defs/sb"
- },
- "funnel_observation": {
- "$ref": "#/$defs/sd"
- },
- "historical_result": {
- "$ref": "#/$defs/sa"
- },
- "id": {
- "type": [
- "string",
- "null"
- ]
- },
- "impressions": {
- "type": [
- "number",
- "null"
- ]
- },
- "lifetime_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "metric_completeness": {
- "$ref": "#/$defs/s3"
- },
- "money_unit": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "optimization_goal": {
- "type": [
- "string",
- "null"
- ]
- },
- "product_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "reach": {
- "type": [
- "number",
- "null"
- ]
- },
- "result_segments": {
- "$ref": "#/$defs/s5"
- },
- "roas": {
- "type": [
- "number",
- "null"
- ]
- },
- "scope": {
- "$ref": "#/$defs/s0"
- },
- "source_observed_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "spend": {
- "type": [
- "number",
- "null"
- ]
- },
- "spend_usd": {
- "type": [
- "number",
- "null"
- ]
- },
- "status": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "meta": {
- "$ref": "#/$defs/s11"
- },
- "summary": {
- "$ref": "#/$defs/sf"
- }
- },
- "type": [
- "null",
- "object"
- ]
- },
- "meta": {
- "$ref": "#/$defs/s1b"
- },
- "next_action": {
- "$ref": "#/$defs/s19"
- },
- "ok": {
- "type": "boolean"
- },
- "status": {
- "type": "string"
- },
- "support_ref": {
- "type": [
- "string",
- "null"
- ]
- },
- "warnings": {
- "items": {
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "ok",
- "status",
- "data",
- "meta",
- "warnings",
- "next_action"
- ]
- },
- {
- "properties": {
- "result_page": {
- "additionalProperties": false,
- "properties": {
- "byte_length": {
- "minimum": 0,
- "type": "integer"
- },
- "byte_offset": {
- "minimum": 0,
- "type": "integer"
- },
- "complete": {
- "description": "Frozen result bytes retrieved, not source completeness.",
- "type": "boolean"
- },
- "data_base64url": {
- "type": "string"
- },
- "encoding": {
- "const": "mcp-call-tool-result-json-utf8+base64url"
- },
- "expires_at": {
- "type": "string"
- },
- "next_cursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "segment_sha256": {
- "type": "string"
- },
- "sha256": {
- "type": "string"
- },
- "snapshot_ref": {
- "type": "string"
- },
- "total_bytes": {
- "minimum": 0,
- "type": "integer"
- },
- "version": {
- "const": 1
- }
- },
- "required": [
- "version",
- "encoding",
- "snapshot_ref",
- "sha256",
- "segment_sha256",
- "data_base64url",
- "expires_at",
- "byte_offset",
- "byte_length",
- "total_bytes",
- "next_cursor",
- "complete"
- ],
- "type": "object"
- }
- },
- "required": [
- "result_page"
- ]
- }
-]New value: +[
+ {
+ "required": [
+ "complete",
+ "meta",
+ "next_action",
+ "ok",
+ "results",
+ "schema_version",
+ "status"
+ ]
+ },
+ {
+ "required": [
+ "data",
+ "meta",
+ "next_action",
+ "ok",
+ "status",
+ "warnings"
+ ]
+ },
+ {
+ "required": [
+ "result_page"
+ ]
+ }
+]
addedOutput schema / else / else / properties / complete
Added value: +{
+ "type": "boolean"
+}
addedOutput schema / else / else / properties / data
Added value: +{
+ "properties": {
+ "daily": {
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "source_observed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spend": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "spend_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "funnel_events": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "funnel_semantics": {
+ "properties": {
+ "coverage_requirement": {
+ "const": "verify_insights_and_source_coverage"
+ },
+ "empty_funnel_interpretation": {
+ "const": "no_selected_events_returned_not_zero_proof"
+ },
+ "missing_event_implies_missing_insights": {
+ "const": false
+ },
+ "missing_event_is_zero": {
+ "const": false
+ },
+ "read_coverage_scope": {
+ "const": "query_result_not_upstream_ingestion"
+ },
+ "representation": {
+ "const": "sparse"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data": {
+ "properties": {
+ "daily": {
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "source_observed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spend": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "spend_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "effective_attribution": {
+ "type": "string"
+ },
+ "funnel_events": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "funnel_semantics": {
+ "properties": {
+ "coverage_requirement": {
+ "const": "verify_insights_and_source_coverage"
+ },
+ "empty_funnel_interpretation": {
+ "const": "no_selected_events_returned_not_zero_proof"
+ },
+ "missing_event_implies_missing_insights": {
+ "const": false
+ },
+ "missing_event_is_zero": {
+ "const": false
+ },
+ "read_coverage_scope": {
+ "const": "query_result_not_upstream_ingestion"
+ },
+ "representation": {
+ "const": "sparse"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "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"
+ },
+ "funnel_incomplete": {
+ "type": "boolean"
+ },
+ "funnel_read_coverage": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "item_count": {
+ "type": "integer"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "standard_metrics_complete": {
+ "type": "boolean"
+ },
+ "succeeded": {
+ "type": "integer"
+ },
+ "total_count": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "total_items": {
+ "type": "integer"
+ },
+ "total_pages": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "page_metrics": {
+ "properties": {
+ "attribution": {
+ "properties": {
+ "requested": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "window": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "metric_scope": {
+ "const": "whole_product_card"
+ },
+ "primary": {
+ "properties": {
+ "action_key": {
+ "type": "string"
+ },
+ "cost": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "cost_status": {
+ "type": "string"
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "profiles": {
+ "items": {
+ "properties": {
+ "kpi_profile": {
+ "type": "string"
+ },
+ "primary": {
+ "properties": {
+ "cost": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ },
+ "value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "summary": {
+ "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",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ }
+ },
+ "required": [
+ "items",
+ "meta"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error": {
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "subcode": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "scope": {
+ "properties": {
+ "ad_account_id": {
+ "type": "string"
+ },
+ "product_name": {
+ "type": "string"
+ },
+ "product_ref": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "source_observed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spend": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "spend_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "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"
+ },
+ "funnel_incomplete": {
+ "type": "boolean"
+ },
+ "funnel_read_coverage": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "item_count": {
+ "type": "integer"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "standard_metrics_complete": {
+ "type": "boolean"
+ },
+ "succeeded": {
+ "type": "integer"
+ },
+ "total_count": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "total_items": {
+ "type": "integer"
+ },
+ "total_pages": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "summary": {
+ "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",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+}
addedOutput schema / else / else / properties / meta
Added value: +{
+ "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": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+}
addedOutput schema / else / else / properties / next_action
Added value: +{
+ "properties": {
+ "arguments": {
+ "properties": {
+ "product_ref": {
+ "type": "string"
+ },
+ "task_ref": {
+ "type": "string"
+ },
+ "template_name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+}
addedOutput schema / else / else / properties / ok
Added value: +{
+ "type": "boolean"
+}
removedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / $ref
Removed value: -"#/$defs/s1c"
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / properties
Added value: +{
+ "can_report_stored_total": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "zero_proven": {
+ "type": "boolean"
+ }
+}
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / required
Added value: +[
+ "can_report_stored_total",
+ "zero_proven",
+ "reason"
+]
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / type
Added value: +"object"
removedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / $ref
Removed value: -"#/$defs/s1c"
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / properties
Added value: +{
+ "can_report_stored_total": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "zero_proven": {
+ "type": "boolean"
+ }
+}
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / required
Added value: +[
+ "can_report_stored_total",
+ "zero_proven",
+ "reason"
+]
addedOutput schema / else / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / type
Added value: +"object"
addedOutput schema / else / else / properties / result_page
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "byte_length": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "byte_offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "complete": {
+ "description": "Frozen result bytes retrieved, not source completeness.",
+ "type": "boolean"
+ },
+ "data_base64url": {
+ "type": "string"
+ },
+ "encoding": {
+ "const": "mcp-call-tool-result-json-utf8+base64url"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "segment_sha256": {
+ "type": "string"
+ },
+ "sha256": {
+ "type": "string"
+ },
+ "snapshot_ref": {
+ "type": "string"
+ },
+ "total_bytes": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "encoding",
+ "snapshot_ref",
+ "sha256",
+ "segment_sha256",
+ "data_base64url",
+ "expires_at",
+ "byte_offset",
+ "byte_length",
+ "total_bytes",
+ "next_cursor",
+ "complete"
+ ],
+ "type": "object"
+}
addedOutput schema / else / else / properties / results
Added value: +{
+ "items": {
+ "properties": {
+ "data": {
+ "properties": {
+ "daily": {
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "source_observed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "spend": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "spend_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "funnel_events": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "funnel_semantics": {
+ "properties": {
+ "coverage_requirement": {
+ "const": "verify_insights_and_source_coverage"
+ },
+ "empty_funnel_interpretation": {
+ "const": "no_selected_events_returned_not_zero_proof"
+ },
+ "missing_event_implies_missing_insights": {
+ "const": false
+ },
+ "missing_event_is_zero": {
+ "const": false
+ },
+ "read_coverage_scope": {
+ "const": "query_result_not_upstream_ingestion"
+ },
+ "representation": {
+ "const": "sparse"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "budget_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "clicks": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "configured_status_observed_at": {
+ "description": "Configuration snapshot time only.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "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"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "data_as_of_date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_start": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_stop": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delivery_issue_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "delivery_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "effective_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "funnel": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "funnel_observation": {
+ "properties": {
+ "proves_source_coverage": {
+ "const": false
+ },
+ "proves_zero": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "selected_events_returned",
+ "no_selected_events_returned",
+ "read_unverified",
+ "insights_unavailable"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "lifetime_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "money_unit": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "optimization_goal": {
+ "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"
+ ]
+ },
+ "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"
+ },
+ "funnel_incomplete": {
+ "type": "boolean"
+ },
+ "funnel_read_coverage": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "item_count": {
+ "type": "integer"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ ]
+ },
+ "standard_metrics_complete": {
+ "type": "boolean"
+ },
+ "succeeded": {
+ "type": "integer"
+ },
+ "total_count": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "total_items": {
+ "type": "integer"
+ },
+ "total_pages": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "summary": {
+ "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",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "historical_result": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "conversion_value": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "conversions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "impressions": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "metric_completeness": {
+ "additionalProperties": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "excluded_rows": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "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"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "error": {
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "subcode": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "metrics_evidence": {
+ "properties": {
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "zero_proven": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "poll_after_ms": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "query_contract": {
+ "properties": {
+ "complete": {
+ "type": "boolean"
+ },
+ "coverage": {
+ "properties": {
+ "account_coverage": {
+ "properties": {
+ "items": {
+ "items": {
+ "properties": {
+ "ad_account_id": {
+ "type": "string"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "source_observed_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "latest_attempt_evaluated": {
+ "const": false
+ },
+ "proves_ad_metrics": {
+ "const": false
+ },
+ "requested_account_count": {
+ "type": "integer"
+ },
+ "returned_count": {
+ "type": "integer"
+ },
+ "source": {
+ "const": "query_watermarks"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "unverified_account_count": {
+ "type": "integer"
+ },
+ "verified_account_count": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "source_watermark": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "scope": {
+ "properties": {
+ "ad_account_id": {
+ "type": "string"
+ },
+ "product_name": {
+ "type": "string"
+ },
+ "product_ref": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "scope_index": {
+ "type": "integer"
+ },
+ "status": {
+ "type": "string"
+ },
+ "task_ref": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "scope_index",
+ "scope",
+ "ok",
+ "status",
+ "data",
+ "query_contract",
+ "task_ref",
+ "poll_after_ms",
+ "error"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / else / else / properties / schema_version
Added value: +{
+ "type": "integer"
+}
addedOutput schema / else / else / properties / status
Added value: +{
+ "type": "string"
+}
addedOutput schema / else / else / properties / support_ref
Added value: +{
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / else / else / properties / warnings
Added value: +{
+ "items": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}