1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 "Competitor Store (Electrolyte Drink Mix · $45/30-sticks · Subscribe-and-Save 15% · Free shaker at $75): Weakness = 480mg maltodextrin filler + $6.99 shipping under $75. Counter-Hook: '1,000mg pure electrolytes with 0g maltodextrin filler—and free shipping on every box.'",
10 "Competitor Store (Collagen Peptides · $52/tub · 3-Pack $129 · 30-day unopened return policy): Weakness = Return policy excludes opened tubs + bovine-only source. Counter-Hook: 'Try the entire tub for 60 days—100% money-back even if the scoop hits the bottom.'",
11 "Competitor Store (Ergonomic Mesh Chair · $499 · +$89 headrest add-on · 3-year warranty): Weakness = Headrest and 4D armrests sold as $148 upsells. Counter-Hook: 'Full-spec ergonomic mesh chair with 4D armrests and headrest included—12-year frame warranty.'",
12 ] }
13
14
15run = client.actor("ultra-liquid/shopify-competitor-ad-pain-analyzer").call(run_input=run_input)
16
17
18print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
19for item in client.dataset(run.default_dataset_id).iterate_items():
20 print(item)
21
22