{"uid":"cap_KCUzqIuoevz_SljnCGmXj","slug":"advertising-performance-keyed-dataset-comparison-b47fdd94","name":"Advertising Performance Keyed Dataset Comparison","description":"Advertising performance - Keyed dataset comparison: Keyed dataset comparison for Advertising performance. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded keyed dataset comparison deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-ad-performance-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","campaign","date","clicks","spend"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"spend":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"clicks":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"campaign":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","spend":1,"clicks":10,"row_id":"row-1","campaign":"group-a"},{"date":"2026-10-02","spend":2,"clicks":20,"row_id":"row-2","campaign":"group-b"},{"date":"2026-10-03","spend":3,"clicks":15,"row_id":"row-3","campaign":"group-a"},{"date":"2026-10-04","spend":4,"clicks":30,"row_id":"row-4","campaign":"group-b"}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","campaign","date","clicks","spend"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"spend":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"clicks":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"campaign":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","spend":1,"clicks":10,"row_id":"row-1","campaign":"group-a"},{"date":"2026-10-02","spend":2,"clicks":21,"row_id":"row-2","campaign":"group-b"},{"date":"2026-10-03","spend":3,"clicks":17,"row_id":"row-3","campaign":"group-a"},{"date":"2026-10-04","spend":4,"clicks":33,"row_id":"row-4","campaign":"group-b"}],"maxItems":200,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1ztIWbfhYRNzJ9oASDyzC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two keyed datasets of advertising performance records (clicks and spend by campaign and date) and returns row-level differences and data-quality metrics.","exampleAgentPrompt":"Compare these two sets of campaign performance data for me — the first dataset has rows for group-a and group-b with clicks and spend from October 1–4, and the second dataset has the same rows but with slightly different click counts. Tell me which rows changed and by how much.","exampleUseCases":[{"title":"A/B campaign performance diff","prompt":"I have two exports of our ad campaign data — one from before the budget reallocation and one after. Can you compare them row by row and show me where clicks or spend changed for each campaign group?"},{"title":"Data pipeline reconciliation","prompt":"We pulled our ad performance data from two different systems and I need to know if they match. Here are up to 200 rows from each — compare them by row ID and flag any discrepancies in clicks or spend."},{"title":"Week-over-week campaign audit","prompt":"Compare last week's campaign data against this week's for the same campaigns. I want to see which specific rows had different spend or click numbers so I can investigate anomalies."}],"resultDescription":"Returns a structured comparison of the two input advertising datasets keyed by row_id, campaign, and date — including row-level numeric differences in clicks and spend, matched and unmatched row identification, and data-quality indicators. All processing is local with no external enrichment.","failureModes":["Missing required fields (row_id, campaign, date, clicks, spend) returns a validation error","More than 200 rows in either dataset exceeds the maxItems limit and is rejected","Malformed date strings not matching YYYY-MM-DD pattern cause schema validation failure","Empty primary dataset (rows with minItems:1 violated) returns an error","Numeric values outside the allowed range trigger validation errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.01) row-level comparison of two advertising performance datasets keyed by campaign and date, with up to 200 records each, and want local numeric diff and data-quality output without any external API calls or forecasting. Ideal for reconciliation, change detection, and audit workflows on campaign click and spend data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:15:03.800Z","isFirstParty":false,"canonicalSlug":"advertising-performance-keyed-dataset-comparison-b47fdd94"}