1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "schemaVersion": "1.0",
10 "requestId": "auto",
11 "watchId": "nike-us-demo-bootstrap",
12 "rows": [{
13 "platform": "google",
14 "advertiserId": "AR16735076323512287233",
15 "pageId": None,
16 "adId": None,
17 "creativeId": "CR16854540057166479361",
18 "isActive": True,
19 "format": "IMAGE",
20 "copy": {
21 "primaryText": "Unisex Nike Sportswear Tech Fleece",
22 "headline": "Product Listing Ad Rendering Service",
23 "description": "Nike Sportswear hoodie",
24 },
25 "cta": "Shop now",
26 "landingDomains": ["nike.com"],
27 "media": ["https://tpc.googlesyndication.com/archive/simgad/3463432638140085355?sig=demo"],
28 "offer": {
29 "kind": None,
30 "value": None,
31 "currency": None,
32 "code": None,
33 },
34 "evidence": {
35 "sourceRef": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR16854540057166479361",
36 "sourceRowId": "CR16854540057166479361",
37 },
38 "scrapedAt": "2026-08-06T11:03:09Z",
39 }],
40 "coverage": {
41 "status": "complete",
42 "comparable": True,
43 "closed": True,
44 "evidenceRef": "buyer://public-demo/coverage",
45 "expectedRows": 1,
46 },
47 "sourceContract": {
48 "productionActorId": "zinin/brand-evidence-source",
49 "productionActorVersion": "0.1.0",
50 "adapter": "google-ads",
51 "adapterVersion": "1.0.0",
52 "queryScope": {
53 "advertiserId": "AR16735076323512287233",
54 "country": "US",
55 },
56 "entityIdentity": { "advertiserId": "AR16735076323512287233" },
57 },
58}
59
60
61run = client.actor("zinin/competitor-ad-change-brief").call(run_input=run_input)
62
63
64print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
65for item in client.dataset(run.default_dataset_id).iterate_items():
66 print(item)
67
68