$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "auditInput": {
< "audit": {
< "audit_id": "fixture-normal",
< "as_of_date": "2026-09-03",
< "marketplace": "US",
< "currency": "USD",
< "source_note": "constructed fixture; no seller data"
< },
< "report": {
< "report_type": "sponsored_products_search_term",
< "start_date": "2026-08-01",
< "end_date": "2026-08-20",
< "conversion_lag_days": 7
< },
< "product": {
< "vertical": "apparel",
< "asin": "B0FIXTURE01",
< "parent_asin": "B0PARENT01",
< "category": "clothing_shoes_and_jewelry",
< "apparel_segment": "tops",
< "lifecycle": "evergreen",
< "launch_stage": "growth",
< "goal": "profit",
< "price_per_order": 40,
< "non_ad_variable_cost_per_order": 26,
< "listing_status": "ready",
< "featured_offer_status": "active",
< "inventory_status": "in_stock",
< "variation_health": "healthy",
< "variation_theme": "size_color",
< "cross_asin_orders_reviewed": true,
< "variation_inventory": [
< {
< "child_asin": "B0FIXTURE01",
< "size": "M",
< "color": "black",
< "inventory_status": "in_stock",
< "listing_status": "ready",
< "featured_offer_status": "active"
< },
< {
< "child_asin": "B0FIXTURE02",
< "size": "L",
< "color": "black",
< "inventory_status": "in_stock",
< "listing_status": "ready",
< "featured_offer_status": "active"
< }
< ]
< },
< "policy": {
< "target_acos": 0.25,
< "min_clicks_for_action": 10,
< "min_orders_for_winner": 2,
< "min_orders_for_expand": 2,
< "max_clicks_without_order": 15,
< "seasonal_replan_days": 14,
< "high_bid_multiplier_warning": 4,
< "allow_strategic_over_break_even": false,
< "max_bid_change_pct": 20,
< "max_budget_change_pct": 25
< },
< "rows": [
< {
< "row_id": "exact-winner",
< "campaign_id": "c-1",
< "ad_group_id": "g-1",
< "targeting_text": "women black travel shirt",
< "customer_search_term": "women black travel shirt",
< "advertised_asin": "B0FIXTURE01",
< "purchased_asin": "B0FIXTURE01",
< "match_type": "exact",
< "relevance": "relevant",
< "impressions": 1000,
< "clicks": 50,
< "spend": 20,
< "sales": 120,
< "orders": 3,
< "base_bid": 0.65,
< "daily_budget": 20,
< "placement_adjustment_pct": 20,
< "audience_adjustment_pct": 0,
< "video_adjustment_pct": 0,
< "bidding_strategy": "down_only"
< },
< {
< "row_id": "broad-winner",
< "campaign_id": "c-2",
< "ad_group_id": "g-2",
< "targeting_text": "women travel top",
< "customer_search_term": "women black travel shirt",
< "advertised_asin": "B0FIXTURE01",
< "purchased_asin": "B0FIXTURE02",
< "match_type": "broad",
< "relevance": "relevant",
< "impressions": 800,
< "clicks": 40,
< "spend": 18,
< "sales": 80,
< "orders": 2,
< "bidding_strategy": "fixed"
< },
< {
< "row_id": "converting-over-limit",
< "campaign_id": "c-3",
< "ad_group_id": "g-3",
< "targeting_text": "women casual top",
< "customer_search_term": "women casual black top",
< "advertised_asin": "B0FIXTURE01",
< "purchased_asin": "B0FIXTURE01",
< "match_type": "phrase",
< "relevance": "relevant",
< "impressions": 600,
< "clicks": 30,
< "spend": 30,
< "sales": 80,
< "orders": 2,
< "base_bid": 1.1,
< "daily_budget": 30,
< "placement_adjustment_pct": 50,
< "audience_adjustment_pct": 0,
< "video_adjustment_pct": 0,
< "bidding_strategy": "fixed"
< },
< {
< "row_id": "irrelevant-query",
< "campaign_id": "c-4",
< "ad_group_id": "g-4",
< "targeting_text": "women tops",
< "customer_search_term": "free sewing pattern software",
< "advertised_asin": "B0FIXTURE01",
< "match_type": "broad",
< "relevance": "irrelevant",
< "impressions": 500,
< "clicks": 20,
< "spend": 10,
< "sales": 0,
< "orders": 0,
< "bidding_strategy": "down_only"
< },
< {
< "row_id": "low-evidence",
< "campaign_id": "c-5",
< "ad_group_id": "g-5",
< "targeting_text": "women travel shirt",
< "customer_search_term": "women travel shirt",
< "advertised_asin": "B0FIXTURE01",
< "match_type": "exact",
< "relevance": "relevant",
< "impressions": 200,
< "clicks": 5,
< "spend": 3,
< "sales": 0,
< "orders": 0,
< "bidding_strategy": "fixed"
< }
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/ysoserious_h~amazon-us-apparel-ppc-decision-auditor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'