{"uid":"cap_PEgYPXYF7xOvpKk0wWuli","slug":"campaign-imports-csv-valid-row-export-8802177d","name":"Campaign Imports CSV Valid Row Export","description":"Campaign imports — Valid row export: Valid row export for Campaign imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV valid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-campaigns-valid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"campaign_id,reported_on,channel_id,spend_amount,attributed_revenue\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"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_Wfb6u39ssNxrHq4VyYalx","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":"Validates a campaign imports CSV file and exports a report of valid rows, checking up to 1000 rows against declared schema constraints.","exampleAgentPrompt":"Validate my campaign imports CSV — it uses a comma delimiter, has columns for campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue, and I want to flag any rows where values fall outside -1000 to 1000000 or the channel_id isn't in [group-a, group-b, group-c]. Give me back just the valid rows.","exampleUseCases":[{"title":"Pre-upload campaign data quality check","prompt":"Before I push this campaign CSV to our reporting system, can you validate it and return only the clean rows? It's comma-delimited, has campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue columns, and channel_id should only be 'paid-search', 'display', or 'social'."},{"title":"Flagging bad rows in ad spend data","prompt":"I have a tab-separated CSV of ad campaign spend data with up to 800 rows — can you run a valid-row export on it and tell me which rows pass validation? Spend values should be between 0 and 500000 and channel must be one of 'facebook', 'google', or 'tiktok'."},{"title":"Automated pipeline validation for campaign imports","prompt":"As part of our daily pipeline, take this campaign imports CSV with a semicolon delimiter and validate the rows — only keep rows where spend_amount and attributed_revenue are between -10000000 and 10000000, and channel_id is either 'email' or 'organic'. Return the valid row export report."}],"resultDescription":"A report identifying which rows in the submitted campaign CSV are valid according to the declared constraints (delimiter, min/max numeric bounds, allowed category values, max cell length), returning up to 1000 validated rows without any external data enrichment.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 processed","Invalid delimiter specified — must be comma, semicolon, or tab","Cell exceeds max_cell_length — row flagged as invalid","Malformed CSV structure (unclosed quotes, mismatched columns) — parse error returned","Numeric values outside min/max bounds — rows excluded from valid export"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.01 USDC) server-side validation pass on campaign imports CSV data before ingesting it into a downstream system — especially when you need to enforce numeric bounds, allowed category values, and cell length constraints without any external data lookups or enrichment. Ideal for agentic pipelines that need a deterministic valid-row filter on marketing campaign CSVs up to 1000 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:35.624Z","isFirstParty":false,"canonicalSlug":"campaign-imports-csv-valid-row-export-8802177d"}