1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "buyerQuery": "buyer-ready records with source evidence",
10 "taskIntent": "buyer-ready-product-run",
11 "sourceMode": "startUrls",
12 "outputMode": "buyer-ready-records",
13 "startUrls": [{ "url": "https://adstransparency.google.com/?region=US&domain=allbirds.com" }],
14 "overallTimeoutSecs": 900,
15 "requestTimeoutSecs": 30,
16 "maxRequestRetries": 2,
17 "sinceLastRun": False,
18 "deltaMode": True,
19}
20
21
22run = client.actor("zentrafoundry/ads-creative-spy-bundle").call(run_input=run_input)
23
24
25print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
26for item in client.dataset(run.default_dataset_id).iterate_items():
27 print(item)
28
29