adapty 0.8.9 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +147 -2
- package/dist/cli/base/adapty/adapty-command.d.ts +3 -2
- package/dist/cli/base/adapty/adapty-command.js +8 -5
- package/dist/cli/base/adapty/build.d.ts +6 -1
- package/dist/cli/base/adapty/build.js +1 -0
- package/dist/cli/base/adapty/index.d.ts +1 -0
- package/dist/cli/base/adapty/index.js +1 -0
- package/dist/cli/base/adapty/migration-command.d.ts +11 -0
- package/dist/cli/base/adapty/migration-command.js +17 -0
- package/dist/cli/base/base-command.d.ts +6 -0
- package/dist/cli/base/base-command.js +14 -0
- package/dist/cli/commands/apps/create.d.ts +1 -1
- package/dist/cli/commands/apps/get.js +1 -1
- package/dist/cli/commands/apps/list.js +1 -1
- package/dist/cli/commands/apps/update.js +1 -1
- package/dist/cli/commands/attribution/report/command.d.ts +18 -0
- package/dist/cli/commands/attribution/report/command.js +93 -0
- package/dist/cli/commands/attribution/report/index.d.ts +1 -18
- package/dist/cli/commands/attribution/report/index.js +1 -93
- package/dist/cli/commands/attribution/values.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -0
- package/dist/cli/commands/auth/{logout.d.ts → logout/command.d.ts} +1 -1
- package/dist/cli/commands/auth/logout/command.js +33 -0
- package/dist/cli/commands/auth/logout/index.d.ts +1 -0
- package/dist/cli/commands/auth/logout/index.js +1 -0
- package/dist/cli/commands/auth/logout/lib/cleanup.d.ts +3 -0
- package/dist/cli/commands/auth/logout/lib/cleanup.js +21 -0
- package/dist/cli/commands/auth/{revoke.d.ts → revoke/command.d.ts} +1 -1
- package/dist/cli/commands/auth/{revoke.js → revoke/command.js} +7 -7
- package/dist/cli/commands/auth/revoke/index.d.ts +1 -0
- package/dist/cli/commands/auth/revoke/index.js +1 -0
- package/dist/cli/commands/auth/revoke/lib/cleanup.d.ts +4 -0
- package/dist/cli/commands/auth/revoke/lib/cleanup.js +29 -0
- package/dist/cli/commands/auth/status/command.d.ts +7 -0
- package/dist/cli/commands/auth/status/command.js +22 -0
- package/dist/cli/commands/auth/status/index.d.ts +1 -7
- package/dist/cli/commands/auth/status/index.js +1 -22
- package/dist/cli/commands/migrations/close/command.d.ts +16 -0
- package/dist/cli/commands/migrations/close/command.js +58 -0
- package/dist/cli/commands/migrations/close/index.d.ts +1 -0
- package/dist/cli/commands/migrations/close/index.js +1 -0
- package/dist/cli/commands/migrations/create/command.d.ts +20 -0
- package/dist/cli/commands/migrations/create/command.js +86 -0
- package/dist/cli/commands/migrations/create/index.d.ts +1 -0
- package/dist/cli/commands/migrations/create/index.js +1 -0
- package/dist/cli/commands/migrations/current/command.d.ts +12 -0
- package/dist/cli/commands/migrations/current/command.js +25 -0
- package/dist/cli/commands/migrations/current/index.d.ts +1 -0
- package/dist/cli/commands/migrations/current/index.js +1 -0
- package/dist/cli/commands/migrations/list/command.d.ts +11 -0
- package/dist/cli/commands/migrations/list/command.js +27 -0
- package/dist/cli/commands/migrations/list/index.d.ts +1 -0
- package/dist/cli/commands/migrations/list/index.js +1 -0
- package/dist/cli/commands/migrations/list/lib/render.d.ts +3 -0
- package/dist/cli/commands/migrations/list/lib/render.js +77 -0
- package/dist/cli/commands/migrations/run/command.d.ts +25 -0
- package/dist/cli/commands/migrations/run/command.js +141 -0
- package/dist/cli/commands/migrations/run/index.d.ts +1 -0
- package/dist/cli/commands/migrations/run/index.js +1 -0
- package/dist/cli/commands/migrations/run/lib/action-view.d.ts +7 -0
- package/dist/cli/commands/migrations/run/lib/action-view.js +2 -0
- package/dist/cli/commands/migrations/run/lib/actions.d.ts +4 -0
- package/dist/cli/commands/migrations/run/lib/actions.js +20 -0
- package/dist/cli/commands/migrations/run/lib/https.d.ts +1 -0
- package/dist/cli/commands/migrations/run/lib/https.js +8 -0
- package/dist/cli/commands/migrations/run/lib/input.d.ts +10 -0
- package/dist/cli/commands/migrations/run/lib/input.js +51 -0
- package/dist/cli/commands/migrations/run/lib/open-link.d.ts +7 -0
- package/dist/cli/commands/migrations/run/lib/open-link.js +11 -0
- package/dist/cli/commands/migrations/show/command.d.ts +17 -0
- package/dist/cli/commands/migrations/show/command.js +47 -0
- package/dist/cli/commands/migrations/show/index.d.ts +1 -0
- package/dist/cli/commands/migrations/show/index.js +1 -0
- package/dist/cli/commands/migrations/show/lib/render.d.ts +4 -0
- package/dist/cli/commands/migrations/show/lib/render.js +27 -0
- package/dist/cli/commands/migrations/status/command.d.ts +18 -0
- package/dist/cli/commands/migrations/status/command.js +54 -0
- package/dist/cli/commands/migrations/status/index.d.ts +1 -0
- package/dist/cli/commands/migrations/status/index.js +1 -0
- package/dist/cli/commands/migrations/status/lib/flags.d.ts +8 -0
- package/dist/cli/commands/migrations/status/lib/flags.js +29 -0
- package/dist/cli/commands/migrations/status/lib/notice.d.ts +3 -0
- package/dist/cli/commands/migrations/status/lib/notice.js +10 -0
- package/dist/cli/commands/migrations/steps/command.d.ts +14 -0
- package/dist/cli/commands/migrations/steps/command.js +34 -0
- package/dist/cli/commands/migrations/steps/index.d.ts +1 -0
- package/dist/cli/commands/migrations/steps/index.js +1 -0
- package/dist/cli/commands/migrations/steps/lib/render.d.ts +3 -0
- package/dist/cli/commands/migrations/steps/lib/render.js +28 -0
- package/dist/cli/commands/migrations/unuse/command.d.ts +11 -0
- package/dist/cli/commands/migrations/unuse/command.js +23 -0
- package/dist/cli/commands/migrations/unuse/index.d.ts +1 -0
- package/dist/cli/commands/migrations/unuse/index.js +1 -0
- package/dist/cli/commands/migrations/use/command.d.ts +14 -0
- package/dist/cli/commands/migrations/use/command.js +24 -0
- package/dist/cli/commands/migrations/use/index.d.ts +1 -0
- package/dist/cli/commands/migrations/use/index.js +1 -0
- package/dist/cli/context/migration/current.d.ts +32 -0
- package/dist/cli/context/migration/current.js +30 -0
- package/dist/cli/context/migration/index.d.ts +4 -0
- package/dist/cli/context/migration/index.js +2 -0
- package/dist/cli/context/migration/model.d.ts +14 -0
- package/dist/cli/context/migration/model.js +30 -0
- package/dist/cli/context/migration/resolve.d.ts +16 -0
- package/dist/cli/context/migration/resolve.js +26 -0
- package/dist/cli/context/migration/store.d.ts +9 -0
- package/dist/cli/context/migration/store.js +99 -0
- package/dist/cli/errors/wizard.d.ts +5 -0
- package/dist/cli/errors/wizard.js +54 -0
- package/dist/cli/errors.d.ts +37 -4
- package/dist/cli/errors.js +58 -4
- package/dist/cli/input/app.d.ts +8 -0
- package/dist/cli/{flags.js → input/app.js} +2 -9
- package/dist/cli/input/migration.d.ts +7 -0
- package/dist/cli/input/migration.js +17 -0
- package/dist/cli/input/pagination.d.ts +11 -0
- package/dist/cli/input/pagination.js +8 -0
- package/dist/cli/views/migrations/envelope/action-block.d.ts +2 -0
- package/dist/cli/views/migrations/envelope/action-block.js +32 -0
- package/dist/cli/views/migrations/envelope/envelope.d.ts +3 -0
- package/dist/cli/views/migrations/envelope/envelope.js +40 -0
- package/dist/cli/views/migrations/envelope/issue-block.d.ts +2 -0
- package/dist/cli/views/migrations/envelope/issue-block.js +13 -0
- package/dist/cli/views/migrations/notices.d.ts +7 -0
- package/dist/cli/views/migrations/notices.js +7 -0
- package/dist/commands/access-levels/create.js +1 -1
- package/dist/commands/access-levels/get.js +1 -1
- package/dist/commands/access-levels/list.js +1 -1
- package/dist/commands/access-levels/update.js +1 -1
- package/dist/commands/auth/logout.d.ts +1 -1
- package/dist/commands/auth/logout.js +1 -1
- package/dist/commands/auth/revoke.d.ts +1 -1
- package/dist/commands/auth/revoke.js +1 -1
- package/dist/commands/flows/config/get.js +1 -1
- package/dist/commands/flows/config/update.js +1 -1
- package/dist/commands/flows/config/validate.js +1 -1
- package/dist/commands/flows/create.js +1 -1
- package/dist/commands/flows/get.js +1 -1
- package/dist/commands/flows/list.js +1 -1
- package/dist/commands/flows/media/upload.js +1 -1
- package/dist/commands/flows/publish.js +1 -1
- package/dist/commands/flows/update.js +1 -1
- package/dist/commands/migrations/close.d.ts +1 -0
- package/dist/commands/migrations/close.js +2 -0
- package/dist/commands/migrations/create.d.ts +1 -0
- package/dist/commands/migrations/create.js +2 -0
- package/dist/commands/migrations/current.d.ts +1 -0
- package/dist/commands/migrations/current.js +1 -0
- package/dist/commands/migrations/list.d.ts +1 -0
- package/dist/commands/migrations/list.js +2 -0
- package/dist/commands/migrations/run.d.ts +1 -0
- package/dist/commands/migrations/run.js +2 -0
- package/dist/commands/migrations/show.d.ts +1 -0
- package/dist/commands/migrations/show.js +2 -0
- package/dist/commands/migrations/status.d.ts +1 -0
- package/dist/commands/migrations/status.js +2 -0
- package/dist/commands/migrations/steps.d.ts +1 -0
- package/dist/commands/migrations/steps.js +2 -0
- package/dist/commands/migrations/unuse.d.ts +1 -0
- package/dist/commands/migrations/unuse.js +1 -0
- package/dist/commands/migrations/use.d.ts +1 -0
- package/dist/commands/migrations/use.js +1 -0
- package/dist/commands/paywalls/create.js +1 -1
- package/dist/commands/paywalls/get.js +1 -1
- package/dist/commands/paywalls/list.js +1 -1
- package/dist/commands/paywalls/placements.js +1 -1
- package/dist/commands/paywalls/update.js +1 -1
- package/dist/commands/placements/create.js +1 -1
- package/dist/commands/placements/get.js +1 -1
- package/dist/commands/placements/list.js +1 -1
- package/dist/commands/placements/update.js +1 -1
- package/dist/commands/products/create.js +1 -1
- package/dist/commands/products/get.js +1 -1
- package/dist/commands/products/list.js +1 -1
- package/dist/commands/products/update.js +1 -1
- package/dist/commands/segments/get.js +1 -1
- package/dist/commands/segments/list.js +1 -1
- package/dist/sdk/adapty/errors.d.ts +4 -0
- package/dist/sdk/adapty/errors.js +25 -0
- package/dist/sdk/adapty/index.d.ts +5 -0
- package/dist/sdk/adapty/index.js +29 -3
- package/dist/sdk/adapty/migrations/action.d.ts +15 -0
- package/dist/sdk/adapty/migrations/action.js +17 -0
- package/dist/sdk/adapty/migrations/close.d.ts +16 -0
- package/dist/sdk/adapty/migrations/close.js +7 -0
- package/dist/sdk/adapty/migrations/create.d.ts +16 -0
- package/dist/sdk/adapty/migrations/create.js +43 -0
- package/dist/sdk/adapty/migrations/index.d.ts +9 -0
- package/dist/sdk/adapty/migrations/index.js +4 -0
- package/dist/sdk/adapty/migrations/model.d.ts +100 -0
- package/dist/sdk/adapty/migrations/model.js +1 -0
- package/dist/sdk/adapty/migrations/resource.d.ts +27 -0
- package/dist/sdk/adapty/migrations/resource.js +52 -0
- package/dist/sdk/adapty/migrations/wait.d.ts +6 -0
- package/dist/sdk/adapty/migrations/wait.js +9 -0
- package/oclif.manifest.json +1722 -1117
- package/package.json +4 -1
- package/dist/cli/commands/auth/logout.js +0 -28
- package/dist/cli/flags.d.ts +0 -20
package/oclif.manifest.json
CHANGED
|
@@ -270,7 +270,6 @@
|
|
|
270
270
|
"pluginName": "adapty",
|
|
271
271
|
"pluginType": "core",
|
|
272
272
|
"strict": true,
|
|
273
|
-
"enableJsonFlag": true,
|
|
274
273
|
"isESM": true,
|
|
275
274
|
"relativePath": [
|
|
276
275
|
"dist",
|
|
@@ -308,7 +307,6 @@
|
|
|
308
307
|
"pluginName": "adapty",
|
|
309
308
|
"pluginType": "core",
|
|
310
309
|
"strict": true,
|
|
311
|
-
"enableJsonFlag": true,
|
|
312
310
|
"isESM": true,
|
|
313
311
|
"relativePath": [
|
|
314
312
|
"dist",
|
|
@@ -357,7 +355,6 @@
|
|
|
357
355
|
"pluginName": "adapty",
|
|
358
356
|
"pluginType": "core",
|
|
359
357
|
"strict": true,
|
|
360
|
-
"enableJsonFlag": true,
|
|
361
358
|
"isESM": true,
|
|
362
359
|
"relativePath": [
|
|
363
360
|
"dist",
|
|
@@ -416,7 +413,6 @@
|
|
|
416
413
|
"pluginName": "adapty",
|
|
417
414
|
"pluginType": "core",
|
|
418
415
|
"strict": true,
|
|
419
|
-
"enableJsonFlag": true,
|
|
420
416
|
"isESM": true,
|
|
421
417
|
"relativePath": [
|
|
422
418
|
"dist",
|
|
@@ -425,6 +421,85 @@
|
|
|
425
421
|
"update.js"
|
|
426
422
|
]
|
|
427
423
|
},
|
|
424
|
+
"asa:connect": {
|
|
425
|
+
"aliases": [],
|
|
426
|
+
"args": {},
|
|
427
|
+
"description": "Connect an Apple Search Ads account to this company",
|
|
428
|
+
"examples": [
|
|
429
|
+
"<%= config.bin %> asa connect",
|
|
430
|
+
"<%= config.bin %> asa connect --no-wait"
|
|
431
|
+
],
|
|
432
|
+
"flags": {
|
|
433
|
+
"json": {
|
|
434
|
+
"description": "Format output as json.",
|
|
435
|
+
"helpGroup": "GLOBAL",
|
|
436
|
+
"name": "json",
|
|
437
|
+
"allowNo": false,
|
|
438
|
+
"type": "boolean"
|
|
439
|
+
},
|
|
440
|
+
"timeout": {
|
|
441
|
+
"description": "Seconds to wait for the browser step",
|
|
442
|
+
"name": "timeout",
|
|
443
|
+
"default": 300,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"wait": {
|
|
449
|
+
"description": "Wait until Apple Ads reports as connected",
|
|
450
|
+
"name": "wait",
|
|
451
|
+
"allowNo": true,
|
|
452
|
+
"type": "boolean"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"hasDynamicHelp": false,
|
|
456
|
+
"hiddenAliases": [],
|
|
457
|
+
"id": "asa:connect",
|
|
458
|
+
"pluginAlias": "adapty",
|
|
459
|
+
"pluginName": "adapty",
|
|
460
|
+
"pluginType": "core",
|
|
461
|
+
"strict": true,
|
|
462
|
+
"enableJsonFlag": true,
|
|
463
|
+
"isESM": true,
|
|
464
|
+
"relativePath": [
|
|
465
|
+
"dist",
|
|
466
|
+
"commands",
|
|
467
|
+
"asa",
|
|
468
|
+
"connect.js"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"asa:whoami": {
|
|
472
|
+
"aliases": [],
|
|
473
|
+
"args": {},
|
|
474
|
+
"description": "Show which company the token unlocks, whether Apple Ads is connected, and the request budgets it gets\n\nLimits are raised per company, so read them here rather than assuming the defaults: metrics_limit_per_minute\nand metrics_burst_limit govern asa metrics, keywords_read_limit_per_minute the keyword lists,\nmetrics_inflight_limit how many analytics calls may overlap, and max_breakdown_rows_per_page the size a\ngrouped page may project to before it is refused.",
|
|
475
|
+
"examples": [
|
|
476
|
+
"<%= config.bin %> asa whoami"
|
|
477
|
+
],
|
|
478
|
+
"flags": {
|
|
479
|
+
"json": {
|
|
480
|
+
"description": "Format output as json.",
|
|
481
|
+
"helpGroup": "GLOBAL",
|
|
482
|
+
"name": "json",
|
|
483
|
+
"allowNo": false,
|
|
484
|
+
"type": "boolean"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"hasDynamicHelp": false,
|
|
488
|
+
"hiddenAliases": [],
|
|
489
|
+
"id": "asa:whoami",
|
|
490
|
+
"pluginAlias": "adapty",
|
|
491
|
+
"pluginName": "adapty",
|
|
492
|
+
"pluginType": "core",
|
|
493
|
+
"strict": true,
|
|
494
|
+
"enableJsonFlag": true,
|
|
495
|
+
"isESM": true,
|
|
496
|
+
"relativePath": [
|
|
497
|
+
"dist",
|
|
498
|
+
"commands",
|
|
499
|
+
"asa",
|
|
500
|
+
"whoami.js"
|
|
501
|
+
]
|
|
502
|
+
},
|
|
428
503
|
"attribution:dimensions": {
|
|
429
504
|
"aliases": [],
|
|
430
505
|
"args": {},
|
|
@@ -721,7 +796,7 @@
|
|
|
721
796
|
"auth:logout": {
|
|
722
797
|
"aliases": [],
|
|
723
798
|
"args": {},
|
|
724
|
-
"description": "Remove the
|
|
799
|
+
"description": "Remove stored credentials and the saved migration selection",
|
|
725
800
|
"examples": [
|
|
726
801
|
"<%= config.bin %> auth logout"
|
|
727
802
|
],
|
|
@@ -753,7 +828,7 @@
|
|
|
753
828
|
"auth:revoke": {
|
|
754
829
|
"aliases": [],
|
|
755
830
|
"args": {},
|
|
756
|
-
"description": "Revoke the current token
|
|
831
|
+
"description": "Revoke the current token and remove matching stored credentials and migration selection",
|
|
757
832
|
"examples": [
|
|
758
833
|
"<%= config.bin %> auth revoke"
|
|
759
834
|
],
|
|
@@ -837,7 +912,6 @@
|
|
|
837
912
|
"pluginName": "adapty",
|
|
838
913
|
"pluginType": "core",
|
|
839
914
|
"strict": true,
|
|
840
|
-
"enableJsonFlag": true,
|
|
841
915
|
"isESM": true,
|
|
842
916
|
"relativePath": [
|
|
843
917
|
"dist",
|
|
@@ -846,85 +920,6 @@
|
|
|
846
920
|
"whoami.js"
|
|
847
921
|
]
|
|
848
922
|
},
|
|
849
|
-
"asa:connect": {
|
|
850
|
-
"aliases": [],
|
|
851
|
-
"args": {},
|
|
852
|
-
"description": "Connect an Apple Search Ads account to this company",
|
|
853
|
-
"examples": [
|
|
854
|
-
"<%= config.bin %> asa connect",
|
|
855
|
-
"<%= config.bin %> asa connect --no-wait"
|
|
856
|
-
],
|
|
857
|
-
"flags": {
|
|
858
|
-
"json": {
|
|
859
|
-
"description": "Format output as json.",
|
|
860
|
-
"helpGroup": "GLOBAL",
|
|
861
|
-
"name": "json",
|
|
862
|
-
"allowNo": false,
|
|
863
|
-
"type": "boolean"
|
|
864
|
-
},
|
|
865
|
-
"timeout": {
|
|
866
|
-
"description": "Seconds to wait for the browser step",
|
|
867
|
-
"name": "timeout",
|
|
868
|
-
"default": 300,
|
|
869
|
-
"hasDynamicHelp": false,
|
|
870
|
-
"multiple": false,
|
|
871
|
-
"type": "option"
|
|
872
|
-
},
|
|
873
|
-
"wait": {
|
|
874
|
-
"description": "Wait until Apple Ads reports as connected",
|
|
875
|
-
"name": "wait",
|
|
876
|
-
"allowNo": true,
|
|
877
|
-
"type": "boolean"
|
|
878
|
-
}
|
|
879
|
-
},
|
|
880
|
-
"hasDynamicHelp": false,
|
|
881
|
-
"hiddenAliases": [],
|
|
882
|
-
"id": "asa:connect",
|
|
883
|
-
"pluginAlias": "adapty",
|
|
884
|
-
"pluginName": "adapty",
|
|
885
|
-
"pluginType": "core",
|
|
886
|
-
"strict": true,
|
|
887
|
-
"enableJsonFlag": true,
|
|
888
|
-
"isESM": true,
|
|
889
|
-
"relativePath": [
|
|
890
|
-
"dist",
|
|
891
|
-
"commands",
|
|
892
|
-
"asa",
|
|
893
|
-
"connect.js"
|
|
894
|
-
]
|
|
895
|
-
},
|
|
896
|
-
"asa:whoami": {
|
|
897
|
-
"aliases": [],
|
|
898
|
-
"args": {},
|
|
899
|
-
"description": "Show which company the token unlocks, whether Apple Ads is connected, and the request budgets it gets\n\nLimits are raised per company, so read them here rather than assuming the defaults: metrics_limit_per_minute\nand metrics_burst_limit govern asa metrics, keywords_read_limit_per_minute the keyword lists,\nmetrics_inflight_limit how many analytics calls may overlap, and max_breakdown_rows_per_page the size a\ngrouped page may project to before it is refused.",
|
|
900
|
-
"examples": [
|
|
901
|
-
"<%= config.bin %> asa whoami"
|
|
902
|
-
],
|
|
903
|
-
"flags": {
|
|
904
|
-
"json": {
|
|
905
|
-
"description": "Format output as json.",
|
|
906
|
-
"helpGroup": "GLOBAL",
|
|
907
|
-
"name": "json",
|
|
908
|
-
"allowNo": false,
|
|
909
|
-
"type": "boolean"
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
"hasDynamicHelp": false,
|
|
913
|
-
"hiddenAliases": [],
|
|
914
|
-
"id": "asa:whoami",
|
|
915
|
-
"pluginAlias": "adapty",
|
|
916
|
-
"pluginName": "adapty",
|
|
917
|
-
"pluginType": "core",
|
|
918
|
-
"strict": true,
|
|
919
|
-
"enableJsonFlag": true,
|
|
920
|
-
"isESM": true,
|
|
921
|
-
"relativePath": [
|
|
922
|
-
"dist",
|
|
923
|
-
"commands",
|
|
924
|
-
"asa",
|
|
925
|
-
"whoami.js"
|
|
926
|
-
]
|
|
927
|
-
},
|
|
928
923
|
"flows:create": {
|
|
929
924
|
"aliases": [],
|
|
930
925
|
"args": {},
|
|
@@ -1182,14 +1177,27 @@
|
|
|
1182
1177
|
"update.js"
|
|
1183
1178
|
]
|
|
1184
1179
|
},
|
|
1185
|
-
"
|
|
1180
|
+
"migrations:close": {
|
|
1186
1181
|
"aliases": [],
|
|
1187
1182
|
"args": {},
|
|
1188
|
-
"description": "
|
|
1183
|
+
"description": "Choose finish to mark the migration as completed, or cancel to abandon it.\nBoth outcomes permanently close the migration and require --yes. No confirmation prompt is shown.\n\nWith --json, returns the full migration response after closing.",
|
|
1189
1184
|
"examples": [
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1185
|
+
{
|
|
1186
|
+
"description": "Finish the saved migration:",
|
|
1187
|
+
"command": "<%= config.bin %> migrations close --outcome finish --yes"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"description": "Mark the migration as finished:",
|
|
1191
|
+
"command": "<%= config.bin %> migrations close -m mig_7x2 --outcome finish --yes"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"description": "Abandon the migration:",
|
|
1195
|
+
"command": "<%= config.bin %> migrations close -m mig_7x2 --outcome cancel --yes"
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"description": "Finish and return the final state as JSON:",
|
|
1199
|
+
"command": "<%= config.bin %> migrations close -m mig_7x2 --outcome finish --yes --json"
|
|
1200
|
+
}
|
|
1193
1201
|
],
|
|
1194
1202
|
"flags": {
|
|
1195
1203
|
"json": {
|
|
@@ -1199,73 +1207,69 @@
|
|
|
1199
1207
|
"allowNo": false,
|
|
1200
1208
|
"type": "boolean"
|
|
1201
1209
|
},
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1204
|
-
"
|
|
1205
|
-
"
|
|
1206
|
-
"hasDynamicHelp": false,
|
|
1207
|
-
"multiple": false,
|
|
1208
|
-
"type": "option"
|
|
1209
|
-
},
|
|
1210
|
-
"audiences": {
|
|
1211
|
-
"description": "JSON array of audience entries. Every entry needs an explicit content_type. Paywall: {content_type:\"paywall\", segment_ids, paywall_id, priority}. Flow: {content_type:\"flow\", segment_ids, flow_id, priority}. A flow must be published first (flows publish) — attaching a draft flow returns 400.",
|
|
1212
|
-
"name": "audiences",
|
|
1210
|
+
"migration": {
|
|
1211
|
+
"char": "m",
|
|
1212
|
+
"description": "Migration ID; overrides ADAPTY_MIGRATION and the saved selection from migrations use/create",
|
|
1213
|
+
"name": "migration",
|
|
1213
1214
|
"hasDynamicHelp": false,
|
|
1215
|
+
"helpValue": "ID",
|
|
1214
1216
|
"multiple": false,
|
|
1215
1217
|
"type": "option"
|
|
1216
1218
|
},
|
|
1217
|
-
"
|
|
1218
|
-
"description": "
|
|
1219
|
-
"name": "
|
|
1219
|
+
"outcome": {
|
|
1220
|
+
"description": "finish: mark completed; cancel: abandon the migration",
|
|
1221
|
+
"name": "outcome",
|
|
1220
1222
|
"required": true,
|
|
1221
1223
|
"hasDynamicHelp": false,
|
|
1222
1224
|
"multiple": false,
|
|
1225
|
+
"options": [
|
|
1226
|
+
"finish",
|
|
1227
|
+
"cancel"
|
|
1228
|
+
],
|
|
1223
1229
|
"type": "option"
|
|
1224
1230
|
},
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1229
|
-
"multiple": false,
|
|
1230
|
-
"type": "option"
|
|
1231
|
-
},
|
|
1232
|
-
"title": {
|
|
1233
|
-
"description": "Placement title",
|
|
1234
|
-
"name": "title",
|
|
1231
|
+
"yes": {
|
|
1232
|
+
"char": "y",
|
|
1233
|
+
"description": "Confirm permanent closure of this migration",
|
|
1234
|
+
"name": "yes",
|
|
1235
1235
|
"required": true,
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1238
|
-
"type": "option"
|
|
1236
|
+
"allowNo": false,
|
|
1237
|
+
"type": "boolean"
|
|
1239
1238
|
}
|
|
1240
1239
|
},
|
|
1241
1240
|
"hasDynamicHelp": false,
|
|
1242
1241
|
"hiddenAliases": [],
|
|
1243
|
-
"id": "
|
|
1242
|
+
"id": "migrations:close",
|
|
1244
1243
|
"pluginAlias": "adapty",
|
|
1245
1244
|
"pluginName": "adapty",
|
|
1246
1245
|
"pluginType": "core",
|
|
1247
1246
|
"strict": true,
|
|
1248
|
-
"
|
|
1247
|
+
"summary": "Permanently finish or cancel a migration",
|
|
1249
1248
|
"isESM": true,
|
|
1250
1249
|
"relativePath": [
|
|
1251
1250
|
"dist",
|
|
1252
1251
|
"commands",
|
|
1253
|
-
"
|
|
1254
|
-
"
|
|
1252
|
+
"migrations",
|
|
1253
|
+
"close.js"
|
|
1255
1254
|
]
|
|
1256
1255
|
},
|
|
1257
|
-
"
|
|
1256
|
+
"migrations:create": {
|
|
1258
1257
|
"aliases": [],
|
|
1259
|
-
"args": {
|
|
1260
|
-
|
|
1261
|
-
"description": "Placement ID (UUID)",
|
|
1262
|
-
"name": "placement_id",
|
|
1263
|
-
"required": true
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
"description": "Get placement details",
|
|
1258
|
+
"args": {},
|
|
1259
|
+
"description": "Use --name to migrate a catalog into a new Adapty app.\nFor an existing app, use --flow and --app together. Choose a flow and its app from `adapty migrations list`.\n\nCreation starts the flow and saves it as current; use `adapty migrations status` to continue.\nUse --no-select to keep the previous selection. ADAPTY_MIGRATION overrides saved selection.\nWith --json, the migration ID is in migration.id.",
|
|
1267
1260
|
"examples": [
|
|
1268
|
-
|
|
1261
|
+
{
|
|
1262
|
+
"description": "Start a catalog migration into a new app:",
|
|
1263
|
+
"command": "<%= config.bin %> migrations create --name \"Acme Fitness\""
|
|
1264
|
+
},
|
|
1265
|
+
{
|
|
1266
|
+
"description": "Start transactions for an existing app, if listed as available:",
|
|
1267
|
+
"command": "<%= config.bin %> migrations create --flow transactions --app 3f2ab1c4-0000-4000-8000-000000000000"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"description": "Return the new migration as JSON for an agent or script:",
|
|
1271
|
+
"command": "<%= config.bin %> migrations create --name \"Acme Fitness\" --json"
|
|
1272
|
+
}
|
|
1269
1273
|
],
|
|
1270
1274
|
"flags": {
|
|
1271
1275
|
"json": {
|
|
@@ -1275,37 +1279,74 @@
|
|
|
1275
1279
|
"allowNo": false,
|
|
1276
1280
|
"type": "boolean"
|
|
1277
1281
|
},
|
|
1282
|
+
"no-select": {
|
|
1283
|
+
"description": "Create without changing the saved migration selection",
|
|
1284
|
+
"name": "no-select",
|
|
1285
|
+
"allowNo": false,
|
|
1286
|
+
"type": "boolean"
|
|
1287
|
+
},
|
|
1288
|
+
"name": {
|
|
1289
|
+
"description": "New Adapty app name; cannot be combined with --flow or --app",
|
|
1290
|
+
"exclusive": [
|
|
1291
|
+
"app",
|
|
1292
|
+
"flow"
|
|
1293
|
+
],
|
|
1294
|
+
"name": "name",
|
|
1295
|
+
"hasDynamicHelp": false,
|
|
1296
|
+
"helpValue": "APP_NAME",
|
|
1297
|
+
"multiple": false,
|
|
1298
|
+
"type": "option"
|
|
1299
|
+
},
|
|
1300
|
+
"flow": {
|
|
1301
|
+
"dependsOn": [
|
|
1302
|
+
"app"
|
|
1303
|
+
],
|
|
1304
|
+
"description": "Available flow from `adapty migrations list`; requires --app",
|
|
1305
|
+
"name": "flow",
|
|
1306
|
+
"hasDynamicHelp": false,
|
|
1307
|
+
"helpValue": "FLOW",
|
|
1308
|
+
"multiple": false,
|
|
1309
|
+
"type": "option"
|
|
1310
|
+
},
|
|
1278
1311
|
"app": {
|
|
1279
|
-
"
|
|
1312
|
+
"dependsOn": [
|
|
1313
|
+
"flow"
|
|
1314
|
+
],
|
|
1315
|
+
"description": "Existing Adapty app ID (UUID); requires --flow",
|
|
1280
1316
|
"name": "app",
|
|
1281
|
-
"required": true,
|
|
1282
1317
|
"hasDynamicHelp": false,
|
|
1318
|
+
"helpValue": "APP_ID",
|
|
1283
1319
|
"multiple": false,
|
|
1284
1320
|
"type": "option"
|
|
1285
1321
|
}
|
|
1286
1322
|
},
|
|
1287
1323
|
"hasDynamicHelp": false,
|
|
1288
1324
|
"hiddenAliases": [],
|
|
1289
|
-
"id": "
|
|
1325
|
+
"id": "migrations:create",
|
|
1290
1326
|
"pluginAlias": "adapty",
|
|
1291
1327
|
"pluginName": "adapty",
|
|
1292
1328
|
"pluginType": "core",
|
|
1293
1329
|
"strict": true,
|
|
1294
|
-
"
|
|
1330
|
+
"summary": "Start a migration into Adapty",
|
|
1331
|
+
"usage": [
|
|
1332
|
+
"migrations create --name APP_NAME [--no-select] [--json]",
|
|
1333
|
+
"migrations create --flow FLOW --app APP_ID [--no-select] [--json]"
|
|
1334
|
+
],
|
|
1295
1335
|
"isESM": true,
|
|
1296
1336
|
"relativePath": [
|
|
1297
1337
|
"dist",
|
|
1298
1338
|
"commands",
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1339
|
+
"migrations",
|
|
1340
|
+
"create.js"
|
|
1301
1341
|
]
|
|
1302
1342
|
},
|
|
1303
|
-
"
|
|
1343
|
+
"migrations:current": {
|
|
1304
1344
|
"aliases": [],
|
|
1305
1345
|
"args": {},
|
|
1306
|
-
"description": "
|
|
1346
|
+
"description": "ADAPTY_MIGRATION takes precedence over the saved selection for the current token.\nWith no applicable selection, returns null and exits successfully.",
|
|
1307
1347
|
"examples": [
|
|
1308
|
-
"<%= config.bin %>
|
|
1348
|
+
"<%= config.bin %> migrations current",
|
|
1349
|
+
"<%= config.bin %> migrations current --json"
|
|
1309
1350
|
],
|
|
1310
1351
|
"flags": {
|
|
1311
1352
|
"json": {
|
|
@@ -1314,62 +1355,207 @@
|
|
|
1314
1355
|
"name": "json",
|
|
1315
1356
|
"allowNo": false,
|
|
1316
1357
|
"type": "boolean"
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"hasDynamicHelp": false,
|
|
1361
|
+
"hiddenAliases": [],
|
|
1362
|
+
"id": "migrations:current",
|
|
1363
|
+
"pluginAlias": "adapty",
|
|
1364
|
+
"pluginName": "adapty",
|
|
1365
|
+
"pluginType": "core",
|
|
1366
|
+
"strict": true,
|
|
1367
|
+
"summary": "Show the effective migration selection and its source (no network)",
|
|
1368
|
+
"enableJsonFlag": true,
|
|
1369
|
+
"isESM": true,
|
|
1370
|
+
"relativePath": [
|
|
1371
|
+
"dist",
|
|
1372
|
+
"commands",
|
|
1373
|
+
"migrations",
|
|
1374
|
+
"current.js"
|
|
1375
|
+
]
|
|
1376
|
+
},
|
|
1377
|
+
"migrations:list": {
|
|
1378
|
+
"aliases": [],
|
|
1379
|
+
"args": {},
|
|
1380
|
+
"description": "Use a migration ID with `adapty migrations status -m ID` to continue an existing flow.\nStart an available flow with `adapty migrations create --flow FLOW --app APP_ID`.\n\nWith --json, items contains migrations and available contains flows with their target apps.",
|
|
1381
|
+
"examples": [
|
|
1382
|
+
{
|
|
1383
|
+
"description": "Find migrations and available flows, grouped by app:",
|
|
1384
|
+
"command": "<%= config.bin %> migrations list"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"description": "Read migration IDs and available flows as JSON:",
|
|
1388
|
+
"command": "<%= config.bin %> migrations list --json"
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
"flags": {
|
|
1392
|
+
"json": {
|
|
1393
|
+
"description": "Format output as json.",
|
|
1394
|
+
"helpGroup": "GLOBAL",
|
|
1395
|
+
"name": "json",
|
|
1396
|
+
"allowNo": false,
|
|
1397
|
+
"type": "boolean"
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
"hasDynamicHelp": false,
|
|
1401
|
+
"hiddenAliases": [],
|
|
1402
|
+
"id": "migrations:list",
|
|
1403
|
+
"pluginAlias": "adapty",
|
|
1404
|
+
"pluginName": "adapty",
|
|
1405
|
+
"pluginType": "core",
|
|
1406
|
+
"strict": true,
|
|
1407
|
+
"summary": "List migrations and the flows you can start",
|
|
1408
|
+
"isESM": true,
|
|
1409
|
+
"relativePath": [
|
|
1410
|
+
"dist",
|
|
1411
|
+
"commands",
|
|
1412
|
+
"migrations",
|
|
1413
|
+
"list.js"
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
"migrations:run": {
|
|
1417
|
+
"aliases": [],
|
|
1418
|
+
"args": {
|
|
1419
|
+
"action_id": {
|
|
1420
|
+
"description": "Offered action ID from `adapty migrations status`",
|
|
1421
|
+
"name": "action_id",
|
|
1422
|
+
"required": true
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
"description": "Choose an action ID from next_actions or available_actions in `adapty migrations status -m ID --json`.\nReplace ACTION_ID in the examples with an offered action ID.\nFor input actions, read the resources in reads and prepare a JSON object matching input_schema.\nOmitting input sends {}. Review confirm before passing --yes.\nWithout --yes, actions requiring confirmation exit with code 6. No confirmation prompt is shown.\n\nExternal actions print a link and open it in an interactive terminal. Complete the browser step, then check status.\nExternal actions reject --input and --input-file, including stdin.\nPipes and --json require --open to launch a browser; BROWSER=none disables it.\nFile uploads are not supported; use the dashboard or an offered Cloud Export action.\n\nWith --json, returns the full migration response (before the browser step for external actions).\nAfter a revision_conflict error, read status and review the action before retrying.",
|
|
1426
|
+
"examples": [
|
|
1427
|
+
{
|
|
1428
|
+
"description": "Run an offered action on the saved migration after reviewing confirm:",
|
|
1429
|
+
"command": "<%= config.bin %> migrations run ACTION_ID --yes"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"description": "Read current action IDs and input schemas first:",
|
|
1433
|
+
"command": "<%= config.bin %> migrations status -m mig_7x2 --json"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"description": "Submit an empty JSON object, if the action input_schema allows it:",
|
|
1437
|
+
"command": "<%= config.bin %> migrations run ACTION_ID -m mig_7x2 --input '{}'"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"description": "Submit a file matching input_schema, after reviewing confirm:",
|
|
1441
|
+
"command": "<%= config.bin %> migrations run ACTION_ID -m mig_7x2 --input-file ./decisions.json --yes --json"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"description": "Read the same prepared input from stdin:",
|
|
1445
|
+
"command": "<%= config.bin %> migrations run ACTION_ID -m mig_7x2 --input-file - --yes --json < ./decisions.json"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"description": "Get an external action link without opening a browser:",
|
|
1449
|
+
"command": "<%= config.bin %> migrations run ACTION_ID -m mig_7x2 --no-browser"
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
"flags": {
|
|
1453
|
+
"json": {
|
|
1454
|
+
"description": "Format output as json.",
|
|
1455
|
+
"helpGroup": "GLOBAL",
|
|
1456
|
+
"name": "json",
|
|
1457
|
+
"allowNo": false,
|
|
1458
|
+
"type": "boolean"
|
|
1459
|
+
},
|
|
1460
|
+
"migration": {
|
|
1461
|
+
"char": "m",
|
|
1462
|
+
"description": "Migration ID; overrides ADAPTY_MIGRATION and the saved selection from migrations use/create",
|
|
1463
|
+
"name": "migration",
|
|
1322
1464
|
"hasDynamicHelp": false,
|
|
1465
|
+
"helpValue": "ID",
|
|
1323
1466
|
"multiple": false,
|
|
1324
1467
|
"type": "option"
|
|
1325
1468
|
},
|
|
1326
|
-
"
|
|
1327
|
-
"description": "
|
|
1328
|
-
"
|
|
1329
|
-
|
|
1469
|
+
"input": {
|
|
1470
|
+
"description": "Input action data as a JSON object matching input_schema",
|
|
1471
|
+
"exclusive": [
|
|
1472
|
+
"input-file"
|
|
1473
|
+
],
|
|
1474
|
+
"name": "input",
|
|
1330
1475
|
"hasDynamicHelp": false,
|
|
1476
|
+
"helpValue": "JSON",
|
|
1331
1477
|
"multiple": false,
|
|
1332
1478
|
"type": "option"
|
|
1333
1479
|
},
|
|
1334
|
-
"
|
|
1335
|
-
"description": "
|
|
1336
|
-
"
|
|
1337
|
-
|
|
1480
|
+
"input-file": {
|
|
1481
|
+
"description": "Read an input action's JSON object from a file; use - for stdin",
|
|
1482
|
+
"exclusive": [
|
|
1483
|
+
"input"
|
|
1484
|
+
],
|
|
1485
|
+
"name": "input-file",
|
|
1338
1486
|
"hasDynamicHelp": false,
|
|
1487
|
+
"helpValue": "PATH",
|
|
1339
1488
|
"multiple": false,
|
|
1340
1489
|
"type": "option"
|
|
1490
|
+
},
|
|
1491
|
+
"yes": {
|
|
1492
|
+
"char": "y",
|
|
1493
|
+
"description": "Confirm the input action after reviewing its confirmation text",
|
|
1494
|
+
"name": "yes",
|
|
1495
|
+
"allowNo": false,
|
|
1496
|
+
"type": "boolean"
|
|
1497
|
+
},
|
|
1498
|
+
"open": {
|
|
1499
|
+
"description": "Open an external action's HTTPS link, including with pipes or --json",
|
|
1500
|
+
"exclusive": [
|
|
1501
|
+
"no-browser"
|
|
1502
|
+
],
|
|
1503
|
+
"name": "open",
|
|
1504
|
+
"allowNo": false,
|
|
1505
|
+
"type": "boolean"
|
|
1506
|
+
},
|
|
1507
|
+
"no-browser": {
|
|
1508
|
+
"description": "Show the external action without opening a browser",
|
|
1509
|
+
"exclusive": [
|
|
1510
|
+
"open"
|
|
1511
|
+
],
|
|
1512
|
+
"name": "no-browser",
|
|
1513
|
+
"allowNo": false,
|
|
1514
|
+
"type": "boolean"
|
|
1341
1515
|
}
|
|
1342
1516
|
},
|
|
1343
1517
|
"hasDynamicHelp": false,
|
|
1344
1518
|
"hiddenAliases": [],
|
|
1345
|
-
"id": "
|
|
1519
|
+
"id": "migrations:run",
|
|
1346
1520
|
"pluginAlias": "adapty",
|
|
1347
1521
|
"pluginName": "adapty",
|
|
1348
1522
|
"pluginType": "core",
|
|
1349
1523
|
"strict": true,
|
|
1350
|
-
"
|
|
1524
|
+
"summary": "Run an input action or open an external action link",
|
|
1351
1525
|
"isESM": true,
|
|
1352
1526
|
"relativePath": [
|
|
1353
1527
|
"dist",
|
|
1354
1528
|
"commands",
|
|
1355
|
-
"
|
|
1356
|
-
"
|
|
1529
|
+
"migrations",
|
|
1530
|
+
"run.js"
|
|
1357
1531
|
]
|
|
1358
1532
|
},
|
|
1359
|
-
"
|
|
1533
|
+
"migrations:show": {
|
|
1360
1534
|
"aliases": [],
|
|
1361
1535
|
"args": {
|
|
1362
|
-
"
|
|
1363
|
-
"description": "
|
|
1364
|
-
"name": "
|
|
1365
|
-
"required": true
|
|
1536
|
+
"resource": {
|
|
1537
|
+
"description": "Resource name; omit to list what can be read now",
|
|
1538
|
+
"name": "resource"
|
|
1366
1539
|
}
|
|
1367
1540
|
},
|
|
1368
|
-
"description": "
|
|
1541
|
+
"description": "Omit RESOURCE to list what can be read now. Use a name from that list, such as apps or mapping.\n\nReading a resource prints its data as JSON. With --json, returns the full migration response.\nResource data is in result (null if no data is available yet).",
|
|
1369
1542
|
"examples": [
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1543
|
+
{
|
|
1544
|
+
"description": "Read the RevenueCat apps of the selected migration:",
|
|
1545
|
+
"command": "<%= config.bin %> migrations show apps"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"description": "List resource names available now:",
|
|
1549
|
+
"command": "<%= config.bin %> migrations show -m mig_7x2"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"description": "Read mapping data, if listed as available:",
|
|
1553
|
+
"command": "<%= config.bin %> migrations show mapping -m mig_7x2"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"description": "Extract only the resource data (requires jq):",
|
|
1557
|
+
"command": "<%= config.bin %> migrations show mapping -m mig_7x2 --json | jq '.result'"
|
|
1558
|
+
}
|
|
1373
1559
|
],
|
|
1374
1560
|
"flags": {
|
|
1375
1561
|
"json": {
|
|
@@ -1379,59 +1565,226 @@
|
|
|
1379
1565
|
"allowNo": false,
|
|
1380
1566
|
"type": "boolean"
|
|
1381
1567
|
},
|
|
1382
|
-
"
|
|
1383
|
-
"
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1568
|
+
"migration": {
|
|
1569
|
+
"char": "m",
|
|
1570
|
+
"description": "Migration ID; overrides ADAPTY_MIGRATION and the saved selection from migrations use/create",
|
|
1571
|
+
"name": "migration",
|
|
1386
1572
|
"hasDynamicHelp": false,
|
|
1573
|
+
"helpValue": "ID",
|
|
1387
1574
|
"multiple": false,
|
|
1388
1575
|
"type": "option"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"hasDynamicHelp": false,
|
|
1579
|
+
"hiddenAliases": [],
|
|
1580
|
+
"id": "migrations:show",
|
|
1581
|
+
"pluginAlias": "adapty",
|
|
1582
|
+
"pluginName": "adapty",
|
|
1583
|
+
"pluginType": "core",
|
|
1584
|
+
"strict": true,
|
|
1585
|
+
"summary": "List migration resources or read one resource",
|
|
1586
|
+
"isESM": true,
|
|
1587
|
+
"relativePath": [
|
|
1588
|
+
"dist",
|
|
1589
|
+
"commands",
|
|
1590
|
+
"migrations",
|
|
1591
|
+
"show.js"
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
"migrations:status": {
|
|
1595
|
+
"aliases": [],
|
|
1596
|
+
"args": {},
|
|
1597
|
+
"description": "Read next_actions for the next steps and available_actions for optional actions.\nUse --json to read each action's input_schema, reads, and confirmation text.\n\n--wait returns when the revision changes, the state leaves running, or the polling budget runs out.\nExit 0 means the request succeeded, even if the migration is still running or has failed.\nCheck migration.state in JSON output. Progress goes to stderr. Ctrl+C exits with code 130.",
|
|
1598
|
+
"examples": [
|
|
1599
|
+
{
|
|
1600
|
+
"description": "Inspect the saved migration:",
|
|
1601
|
+
"command": "<%= config.bin %> migrations status"
|
|
1389
1602
|
},
|
|
1390
|
-
|
|
1391
|
-
"description": "
|
|
1392
|
-
"
|
|
1393
|
-
"hasDynamicHelp": false,
|
|
1394
|
-
"multiple": false,
|
|
1395
|
-
"type": "option"
|
|
1603
|
+
{
|
|
1604
|
+
"description": "See the current state and what to do next:",
|
|
1605
|
+
"command": "<%= config.bin %> migrations status -m mig_7x2"
|
|
1396
1606
|
},
|
|
1397
|
-
|
|
1398
|
-
"description": "
|
|
1399
|
-
"
|
|
1400
|
-
|
|
1607
|
+
{
|
|
1608
|
+
"description": "Read action IDs, input schemas, and confirmation text as JSON:",
|
|
1609
|
+
"command": "<%= config.bin %> migrations status -m mig_7x2 --json"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"description": "Wait for a change with a five-minute polling budget:",
|
|
1613
|
+
"command": "<%= config.bin %> migrations status -m mig_7x2 --wait --timeout 5m --json"
|
|
1614
|
+
}
|
|
1615
|
+
],
|
|
1616
|
+
"flags": {
|
|
1617
|
+
"json": {
|
|
1618
|
+
"description": "Format output as json.",
|
|
1619
|
+
"helpGroup": "GLOBAL",
|
|
1620
|
+
"name": "json",
|
|
1621
|
+
"allowNo": false,
|
|
1622
|
+
"type": "boolean"
|
|
1623
|
+
},
|
|
1624
|
+
"migration": {
|
|
1625
|
+
"char": "m",
|
|
1626
|
+
"description": "Migration ID; overrides ADAPTY_MIGRATION and the saved selection from migrations use/create",
|
|
1627
|
+
"name": "migration",
|
|
1401
1628
|
"hasDynamicHelp": false,
|
|
1629
|
+
"helpValue": "ID",
|
|
1402
1630
|
"multiple": false,
|
|
1403
1631
|
"type": "option"
|
|
1404
1632
|
},
|
|
1405
|
-
"
|
|
1406
|
-
"
|
|
1407
|
-
|
|
1633
|
+
"timeout": {
|
|
1634
|
+
"dependsOn": [
|
|
1635
|
+
"wait"
|
|
1636
|
+
],
|
|
1637
|
+
"description": "Polling budget with --wait: 1-600s, default 120s (e.g. 300, 300s, 5m); in-flight requests may take longer",
|
|
1638
|
+
"name": "timeout",
|
|
1408
1639
|
"hasDynamicHelp": false,
|
|
1640
|
+
"helpValue": "DURATION",
|
|
1409
1641
|
"multiple": false,
|
|
1410
1642
|
"type": "option"
|
|
1411
1643
|
},
|
|
1412
|
-
"
|
|
1413
|
-
"description": "
|
|
1414
|
-
"name": "
|
|
1415
|
-
"
|
|
1644
|
+
"wait": {
|
|
1645
|
+
"description": "Poll for a revision or state change, then return the latest response",
|
|
1646
|
+
"name": "wait",
|
|
1647
|
+
"allowNo": false,
|
|
1648
|
+
"type": "boolean"
|
|
1649
|
+
}
|
|
1650
|
+
},
|
|
1651
|
+
"hasDynamicHelp": false,
|
|
1652
|
+
"hiddenAliases": [],
|
|
1653
|
+
"id": "migrations:status",
|
|
1654
|
+
"pluginAlias": "adapty",
|
|
1655
|
+
"pluginName": "adapty",
|
|
1656
|
+
"pluginType": "core",
|
|
1657
|
+
"strict": true,
|
|
1658
|
+
"summary": "Show migration state, issues, and available actions",
|
|
1659
|
+
"isESM": true,
|
|
1660
|
+
"relativePath": [
|
|
1661
|
+
"dist",
|
|
1662
|
+
"commands",
|
|
1663
|
+
"migrations",
|
|
1664
|
+
"status.js"
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1667
|
+
"migrations:steps": {
|
|
1668
|
+
"aliases": [],
|
|
1669
|
+
"args": {},
|
|
1670
|
+
"description": "Shows done, active, and locked steps in migration order.\nTo find actions you can run, use `adapty migrations status -m ID`.\n\nWith --json, the full migration response is returned; the checklist is in steps.",
|
|
1671
|
+
"examples": [
|
|
1672
|
+
{
|
|
1673
|
+
"description": "View the saved migration checklist:",
|
|
1674
|
+
"command": "<%= config.bin %> migrations steps"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"description": "View the checklist:",
|
|
1678
|
+
"command": "<%= config.bin %> migrations steps -m mig_7x2"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"description": "Extract the checklist as JSON (requires jq):",
|
|
1682
|
+
"command": "<%= config.bin %> migrations steps -m mig_7x2 --json | jq '.steps'"
|
|
1683
|
+
}
|
|
1684
|
+
],
|
|
1685
|
+
"flags": {
|
|
1686
|
+
"json": {
|
|
1687
|
+
"description": "Format output as json.",
|
|
1688
|
+
"helpGroup": "GLOBAL",
|
|
1689
|
+
"name": "json",
|
|
1690
|
+
"allowNo": false,
|
|
1691
|
+
"type": "boolean"
|
|
1692
|
+
},
|
|
1693
|
+
"migration": {
|
|
1694
|
+
"char": "m",
|
|
1695
|
+
"description": "Migration ID; overrides ADAPTY_MIGRATION and the saved selection from migrations use/create",
|
|
1696
|
+
"name": "migration",
|
|
1416
1697
|
"hasDynamicHelp": false,
|
|
1698
|
+
"helpValue": "ID",
|
|
1417
1699
|
"multiple": false,
|
|
1418
1700
|
"type": "option"
|
|
1419
1701
|
}
|
|
1420
1702
|
},
|
|
1421
1703
|
"hasDynamicHelp": false,
|
|
1422
1704
|
"hiddenAliases": [],
|
|
1423
|
-
"id": "
|
|
1705
|
+
"id": "migrations:steps",
|
|
1706
|
+
"pluginAlias": "adapty",
|
|
1707
|
+
"pluginName": "adapty",
|
|
1708
|
+
"pluginType": "core",
|
|
1709
|
+
"strict": true,
|
|
1710
|
+
"summary": "Show the migration checklist and step statuses",
|
|
1711
|
+
"isESM": true,
|
|
1712
|
+
"relativePath": [
|
|
1713
|
+
"dist",
|
|
1714
|
+
"commands",
|
|
1715
|
+
"migrations",
|
|
1716
|
+
"steps.js"
|
|
1717
|
+
]
|
|
1718
|
+
},
|
|
1719
|
+
"migrations:unuse": {
|
|
1720
|
+
"aliases": [],
|
|
1721
|
+
"args": {},
|
|
1722
|
+
"description": "Works without authentication, including when the saved context is malformed.\nADAPTY_MIGRATION remains active until you unset it in your shell.",
|
|
1723
|
+
"examples": [
|
|
1724
|
+
"<%= config.bin %> migrations unuse"
|
|
1725
|
+
],
|
|
1726
|
+
"flags": {
|
|
1727
|
+
"json": {
|
|
1728
|
+
"description": "Format output as json.",
|
|
1729
|
+
"helpGroup": "GLOBAL",
|
|
1730
|
+
"name": "json",
|
|
1731
|
+
"allowNo": false,
|
|
1732
|
+
"type": "boolean"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1735
|
+
"hasDynamicHelp": false,
|
|
1736
|
+
"hiddenAliases": [],
|
|
1737
|
+
"id": "migrations:unuse",
|
|
1424
1738
|
"pluginAlias": "adapty",
|
|
1425
1739
|
"pluginName": "adapty",
|
|
1426
1740
|
"pluginType": "core",
|
|
1427
1741
|
"strict": true,
|
|
1742
|
+
"summary": "Clear the saved migration selection (no network)",
|
|
1428
1743
|
"enableJsonFlag": true,
|
|
1429
1744
|
"isESM": true,
|
|
1430
1745
|
"relativePath": [
|
|
1431
1746
|
"dist",
|
|
1432
1747
|
"commands",
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1748
|
+
"migrations",
|
|
1749
|
+
"unuse.js"
|
|
1750
|
+
]
|
|
1751
|
+
},
|
|
1752
|
+
"migrations:use": {
|
|
1753
|
+
"aliases": [],
|
|
1754
|
+
"args": {
|
|
1755
|
+
"id": {
|
|
1756
|
+
"description": "Migration ID from `adapty migrations list`",
|
|
1757
|
+
"name": "id",
|
|
1758
|
+
"required": true
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
"description": "Select a migration for the current token. This does not start or modify the migration.\nCompleted, canceled and failed migrations can also be selected for inspection.\nADAPTY_MIGRATION overrides the saved selection until you unset it in your shell.",
|
|
1762
|
+
"examples": [
|
|
1763
|
+
"<%= config.bin %> migrations use mig_7x2"
|
|
1764
|
+
],
|
|
1765
|
+
"flags": {
|
|
1766
|
+
"json": {
|
|
1767
|
+
"description": "Format output as json.",
|
|
1768
|
+
"helpGroup": "GLOBAL",
|
|
1769
|
+
"name": "json",
|
|
1770
|
+
"allowNo": false,
|
|
1771
|
+
"type": "boolean"
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
"hasDynamicHelp": false,
|
|
1775
|
+
"hiddenAliases": [],
|
|
1776
|
+
"id": "migrations:use",
|
|
1777
|
+
"pluginAlias": "adapty",
|
|
1778
|
+
"pluginName": "adapty",
|
|
1779
|
+
"pluginType": "core",
|
|
1780
|
+
"strict": true,
|
|
1781
|
+
"summary": "Save the current migration after verifying access",
|
|
1782
|
+
"isESM": true,
|
|
1783
|
+
"relativePath": [
|
|
1784
|
+
"dist",
|
|
1785
|
+
"commands",
|
|
1786
|
+
"migrations",
|
|
1787
|
+
"use.js"
|
|
1435
1788
|
]
|
|
1436
1789
|
},
|
|
1437
1790
|
"paywalls:create": {
|
|
@@ -1700,18 +2053,90 @@
|
|
|
1700
2053
|
"update.js"
|
|
1701
2054
|
]
|
|
1702
2055
|
},
|
|
1703
|
-
"
|
|
2056
|
+
"placements:create": {
|
|
2057
|
+
"aliases": [],
|
|
2058
|
+
"args": {},
|
|
2059
|
+
"description": "Create a placement with a paywall",
|
|
2060
|
+
"examples": [
|
|
2061
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"paywall\",\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
|
|
2062
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"flow\",\"segment_ids\":[],\"flow_id\":\"FLOW_UUID\",\"priority\":0}]'",
|
|
2063
|
+
"<%= config.bin %> placements create --app UUID --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2064
|
+
],
|
|
2065
|
+
"flags": {
|
|
2066
|
+
"json": {
|
|
2067
|
+
"description": "Format output as json.",
|
|
2068
|
+
"helpGroup": "GLOBAL",
|
|
2069
|
+
"name": "json",
|
|
2070
|
+
"allowNo": false,
|
|
2071
|
+
"type": "boolean"
|
|
2072
|
+
},
|
|
2073
|
+
"app": {
|
|
2074
|
+
"description": "App ID (UUID)",
|
|
2075
|
+
"name": "app",
|
|
2076
|
+
"required": true,
|
|
2077
|
+
"hasDynamicHelp": false,
|
|
2078
|
+
"multiple": false,
|
|
2079
|
+
"type": "option"
|
|
2080
|
+
},
|
|
2081
|
+
"audiences": {
|
|
2082
|
+
"description": "JSON array of audience entries. Every entry needs an explicit content_type. Paywall: {content_type:\"paywall\", segment_ids, paywall_id, priority}. Flow: {content_type:\"flow\", segment_ids, flow_id, priority}. A flow must be published first (flows publish) — attaching a draft flow returns 400.",
|
|
2083
|
+
"name": "audiences",
|
|
2084
|
+
"hasDynamicHelp": false,
|
|
2085
|
+
"multiple": false,
|
|
2086
|
+
"type": "option"
|
|
2087
|
+
},
|
|
2088
|
+
"developer-id": {
|
|
2089
|
+
"description": "Developer ID for the placement",
|
|
2090
|
+
"name": "developer-id",
|
|
2091
|
+
"required": true,
|
|
2092
|
+
"hasDynamicHelp": false,
|
|
2093
|
+
"multiple": false,
|
|
2094
|
+
"type": "option"
|
|
2095
|
+
},
|
|
2096
|
+
"paywall-id": {
|
|
2097
|
+
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
2098
|
+
"name": "paywall-id",
|
|
2099
|
+
"hasDynamicHelp": false,
|
|
2100
|
+
"multiple": false,
|
|
2101
|
+
"type": "option"
|
|
2102
|
+
},
|
|
2103
|
+
"title": {
|
|
2104
|
+
"description": "Placement title",
|
|
2105
|
+
"name": "title",
|
|
2106
|
+
"required": true,
|
|
2107
|
+
"hasDynamicHelp": false,
|
|
2108
|
+
"multiple": false,
|
|
2109
|
+
"type": "option"
|
|
2110
|
+
}
|
|
2111
|
+
},
|
|
2112
|
+
"hasDynamicHelp": false,
|
|
2113
|
+
"hiddenAliases": [],
|
|
2114
|
+
"id": "placements:create",
|
|
2115
|
+
"pluginAlias": "adapty",
|
|
2116
|
+
"pluginName": "adapty",
|
|
2117
|
+
"pluginType": "core",
|
|
2118
|
+
"strict": true,
|
|
2119
|
+
"enableJsonFlag": true,
|
|
2120
|
+
"isESM": true,
|
|
2121
|
+
"relativePath": [
|
|
2122
|
+
"dist",
|
|
2123
|
+
"commands",
|
|
2124
|
+
"placements",
|
|
2125
|
+
"create.js"
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
"placements:get": {
|
|
1704
2129
|
"aliases": [],
|
|
1705
2130
|
"args": {
|
|
1706
|
-
"
|
|
1707
|
-
"description": "
|
|
1708
|
-
"name": "
|
|
2131
|
+
"placement_id": {
|
|
2132
|
+
"description": "Placement ID (UUID)",
|
|
2133
|
+
"name": "placement_id",
|
|
1709
2134
|
"required": true
|
|
1710
2135
|
}
|
|
1711
2136
|
},
|
|
1712
|
-
"description": "Get
|
|
2137
|
+
"description": "Get placement details",
|
|
1713
2138
|
"examples": [
|
|
1714
|
-
"<%= config.bin %>
|
|
2139
|
+
"<%= config.bin %> placements get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
1715
2140
|
],
|
|
1716
2141
|
"flags": {
|
|
1717
2142
|
"json": {
|
|
@@ -1732,7 +2157,7 @@
|
|
|
1732
2157
|
},
|
|
1733
2158
|
"hasDynamicHelp": false,
|
|
1734
2159
|
"hiddenAliases": [],
|
|
1735
|
-
"id": "
|
|
2160
|
+
"id": "placements:get",
|
|
1736
2161
|
"pluginAlias": "adapty",
|
|
1737
2162
|
"pluginName": "adapty",
|
|
1738
2163
|
"pluginType": "core",
|
|
@@ -1742,16 +2167,16 @@
|
|
|
1742
2167
|
"relativePath": [
|
|
1743
2168
|
"dist",
|
|
1744
2169
|
"commands",
|
|
1745
|
-
"
|
|
2170
|
+
"placements",
|
|
1746
2171
|
"get.js"
|
|
1747
2172
|
]
|
|
1748
2173
|
},
|
|
1749
|
-
"
|
|
2174
|
+
"placements:list": {
|
|
1750
2175
|
"aliases": [],
|
|
1751
2176
|
"args": {},
|
|
1752
|
-
"description": "List
|
|
2177
|
+
"description": "List placements for an app",
|
|
1753
2178
|
"examples": [
|
|
1754
|
-
"<%= config.bin %>
|
|
2179
|
+
"<%= config.bin %> placements list --app 550e8400-..."
|
|
1755
2180
|
],
|
|
1756
2181
|
"flags": {
|
|
1757
2182
|
"json": {
|
|
@@ -1788,7 +2213,7 @@
|
|
|
1788
2213
|
},
|
|
1789
2214
|
"hasDynamicHelp": false,
|
|
1790
2215
|
"hiddenAliases": [],
|
|
1791
|
-
"id": "
|
|
2216
|
+
"id": "placements:list",
|
|
1792
2217
|
"pluginAlias": "adapty",
|
|
1793
2218
|
"pluginName": "adapty",
|
|
1794
2219
|
"pluginType": "core",
|
|
@@ -1798,10 +2223,88 @@
|
|
|
1798
2223
|
"relativePath": [
|
|
1799
2224
|
"dist",
|
|
1800
2225
|
"commands",
|
|
1801
|
-
"
|
|
2226
|
+
"placements",
|
|
1802
2227
|
"list.js"
|
|
1803
2228
|
]
|
|
1804
2229
|
},
|
|
2230
|
+
"placements:update": {
|
|
2231
|
+
"aliases": [],
|
|
2232
|
+
"args": {
|
|
2233
|
+
"placement_id": {
|
|
2234
|
+
"description": "Placement ID (UUID)",
|
|
2235
|
+
"name": "placement_id",
|
|
2236
|
+
"required": true
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2239
|
+
"description": "Update a placement",
|
|
2240
|
+
"examples": [
|
|
2241
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"paywall\",\"segment_ids\":[],\"paywall_id\":\"PAYWALL_UUID\",\"priority\":0}]'",
|
|
2242
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --audiences '[{\"content_type\":\"flow\",\"segment_ids\":[],\"flow_id\":\"FLOW_UUID\",\"priority\":0}]'",
|
|
2243
|
+
"<%= config.bin %> placements update --app UUID 550e8400-... --title \"Default\" --developer-id default --paywall-id PAYWALL_UUID"
|
|
2244
|
+
],
|
|
2245
|
+
"flags": {
|
|
2246
|
+
"json": {
|
|
2247
|
+
"description": "Format output as json.",
|
|
2248
|
+
"helpGroup": "GLOBAL",
|
|
2249
|
+
"name": "json",
|
|
2250
|
+
"allowNo": false,
|
|
2251
|
+
"type": "boolean"
|
|
2252
|
+
},
|
|
2253
|
+
"app": {
|
|
2254
|
+
"description": "App ID (UUID)",
|
|
2255
|
+
"name": "app",
|
|
2256
|
+
"required": true,
|
|
2257
|
+
"hasDynamicHelp": false,
|
|
2258
|
+
"multiple": false,
|
|
2259
|
+
"type": "option"
|
|
2260
|
+
},
|
|
2261
|
+
"audiences": {
|
|
2262
|
+
"description": "JSON array of audience entries. Every entry needs an explicit content_type. Paywall: {content_type:\"paywall\", segment_ids, paywall_id, priority}. Flow: {content_type:\"flow\", segment_ids, flow_id, priority}. A flow must be published first (flows publish) — attaching a draft flow returns 400.",
|
|
2263
|
+
"name": "audiences",
|
|
2264
|
+
"hasDynamicHelp": false,
|
|
2265
|
+
"multiple": false,
|
|
2266
|
+
"type": "option"
|
|
2267
|
+
},
|
|
2268
|
+
"developer-id": {
|
|
2269
|
+
"description": "Developer ID for the placement",
|
|
2270
|
+
"name": "developer-id",
|
|
2271
|
+
"required": true,
|
|
2272
|
+
"hasDynamicHelp": false,
|
|
2273
|
+
"multiple": false,
|
|
2274
|
+
"type": "option"
|
|
2275
|
+
},
|
|
2276
|
+
"paywall-id": {
|
|
2277
|
+
"description": "Paywall ID (UUID). DEPRECATED: use --audiences.",
|
|
2278
|
+
"name": "paywall-id",
|
|
2279
|
+
"hasDynamicHelp": false,
|
|
2280
|
+
"multiple": false,
|
|
2281
|
+
"type": "option"
|
|
2282
|
+
},
|
|
2283
|
+
"title": {
|
|
2284
|
+
"description": "Placement title",
|
|
2285
|
+
"name": "title",
|
|
2286
|
+
"required": true,
|
|
2287
|
+
"hasDynamicHelp": false,
|
|
2288
|
+
"multiple": false,
|
|
2289
|
+
"type": "option"
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
"hasDynamicHelp": false,
|
|
2293
|
+
"hiddenAliases": [],
|
|
2294
|
+
"id": "placements:update",
|
|
2295
|
+
"pluginAlias": "adapty",
|
|
2296
|
+
"pluginName": "adapty",
|
|
2297
|
+
"pluginType": "core",
|
|
2298
|
+
"strict": true,
|
|
2299
|
+
"enableJsonFlag": true,
|
|
2300
|
+
"isESM": true,
|
|
2301
|
+
"relativePath": [
|
|
2302
|
+
"dist",
|
|
2303
|
+
"commands",
|
|
2304
|
+
"placements",
|
|
2305
|
+
"update.js"
|
|
2306
|
+
]
|
|
2307
|
+
},
|
|
1805
2308
|
"products:create": {
|
|
1806
2309
|
"aliases": [],
|
|
1807
2310
|
"args": {},
|
|
@@ -2086,14 +2589,18 @@
|
|
|
2086
2589
|
"update.js"
|
|
2087
2590
|
]
|
|
2088
2591
|
},
|
|
2089
|
-
"
|
|
2592
|
+
"segments:get": {
|
|
2090
2593
|
"aliases": [],
|
|
2091
|
-
"args": {
|
|
2092
|
-
|
|
2594
|
+
"args": {
|
|
2595
|
+
"segment_id": {
|
|
2596
|
+
"description": "Segment ID (UUID)",
|
|
2597
|
+
"name": "segment_id",
|
|
2598
|
+
"required": true
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
"description": "Get segment details",
|
|
2093
2602
|
"examples": [
|
|
2094
|
-
"<%= config.bin %>
|
|
2095
|
-
"<%= config.bin %> asa ad-groups create --campaign UUID --name \"Brand terms\" --default-bid 1.20 --start-time 2026-09-01 --pricing-model CPM",
|
|
2096
|
-
"<%= config.bin %> asa ad-groups create --campaign UUID --name \"Automated Max Conv\" --automated"
|
|
2603
|
+
"<%= config.bin %> segments get --app UUID 550e8400-e29b-41d4-a716-446655440000"
|
|
2097
2604
|
],
|
|
2098
2605
|
"flags": {
|
|
2099
2606
|
"json": {
|
|
@@ -2103,36 +2610,184 @@
|
|
|
2103
2610
|
"allowNo": false,
|
|
2104
2611
|
"type": "boolean"
|
|
2105
2612
|
},
|
|
2106
|
-
"
|
|
2107
|
-
"description": "
|
|
2108
|
-
"name": "
|
|
2109
|
-
"
|
|
2613
|
+
"app": {
|
|
2614
|
+
"description": "App ID (UUID)",
|
|
2615
|
+
"name": "app",
|
|
2616
|
+
"required": true,
|
|
2110
2617
|
"hasDynamicHelp": false,
|
|
2111
2618
|
"multiple": false,
|
|
2112
2619
|
"type": "option"
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"hasDynamicHelp": false,
|
|
2623
|
+
"hiddenAliases": [],
|
|
2624
|
+
"id": "segments:get",
|
|
2625
|
+
"pluginAlias": "adapty",
|
|
2626
|
+
"pluginName": "adapty",
|
|
2627
|
+
"pluginType": "core",
|
|
2628
|
+
"strict": true,
|
|
2629
|
+
"enableJsonFlag": true,
|
|
2630
|
+
"isESM": true,
|
|
2631
|
+
"relativePath": [
|
|
2632
|
+
"dist",
|
|
2633
|
+
"commands",
|
|
2634
|
+
"segments",
|
|
2635
|
+
"get.js"
|
|
2636
|
+
]
|
|
2637
|
+
},
|
|
2638
|
+
"segments:list": {
|
|
2639
|
+
"aliases": [],
|
|
2640
|
+
"args": {},
|
|
2641
|
+
"description": "List segments for an app",
|
|
2642
|
+
"examples": [
|
|
2643
|
+
"<%= config.bin %> segments list --app 550e8400-..."
|
|
2644
|
+
],
|
|
2645
|
+
"flags": {
|
|
2646
|
+
"json": {
|
|
2647
|
+
"description": "Format output as json.",
|
|
2648
|
+
"helpGroup": "GLOBAL",
|
|
2649
|
+
"name": "json",
|
|
2650
|
+
"allowNo": false,
|
|
2651
|
+
"type": "boolean"
|
|
2113
2652
|
},
|
|
2114
|
-
"
|
|
2115
|
-
"description": "
|
|
2116
|
-
"name": "
|
|
2653
|
+
"app": {
|
|
2654
|
+
"description": "App ID (UUID)",
|
|
2655
|
+
"name": "app",
|
|
2656
|
+
"required": true,
|
|
2117
2657
|
"hasDynamicHelp": false,
|
|
2118
2658
|
"multiple": false,
|
|
2119
2659
|
"type": "option"
|
|
2120
2660
|
},
|
|
2121
|
-
"
|
|
2122
|
-
"description": "
|
|
2123
|
-
"name": "
|
|
2661
|
+
"page": {
|
|
2662
|
+
"description": "Page number",
|
|
2663
|
+
"name": "page",
|
|
2664
|
+
"default": 1,
|
|
2124
2665
|
"hasDynamicHelp": false,
|
|
2125
2666
|
"multiple": false,
|
|
2126
2667
|
"type": "option"
|
|
2127
2668
|
},
|
|
2128
|
-
"
|
|
2129
|
-
"description": "
|
|
2130
|
-
"name": "
|
|
2131
|
-
"default":
|
|
2669
|
+
"page-size": {
|
|
2670
|
+
"description": "Items per page (max 100)",
|
|
2671
|
+
"name": "page-size",
|
|
2672
|
+
"default": 20,
|
|
2132
2673
|
"hasDynamicHelp": false,
|
|
2133
2674
|
"multiple": false,
|
|
2134
|
-
"
|
|
2135
|
-
|
|
2675
|
+
"type": "option"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
"hasDynamicHelp": false,
|
|
2679
|
+
"hiddenAliases": [],
|
|
2680
|
+
"id": "segments:list",
|
|
2681
|
+
"pluginAlias": "adapty",
|
|
2682
|
+
"pluginName": "adapty",
|
|
2683
|
+
"pluginType": "core",
|
|
2684
|
+
"strict": true,
|
|
2685
|
+
"enableJsonFlag": true,
|
|
2686
|
+
"isESM": true,
|
|
2687
|
+
"relativePath": [
|
|
2688
|
+
"dist",
|
|
2689
|
+
"commands",
|
|
2690
|
+
"segments",
|
|
2691
|
+
"list.js"
|
|
2692
|
+
]
|
|
2693
|
+
},
|
|
2694
|
+
"asa:apps:list": {
|
|
2695
|
+
"aliases": [],
|
|
2696
|
+
"args": {},
|
|
2697
|
+
"description": "List the apps promoted by this company in Apple Search Ads",
|
|
2698
|
+
"examples": [
|
|
2699
|
+
"<%= config.bin %> asa apps list",
|
|
2700
|
+
"<%= config.bin %> asa apps list --page 2 --page-size 50"
|
|
2701
|
+
],
|
|
2702
|
+
"flags": {
|
|
2703
|
+
"json": {
|
|
2704
|
+
"description": "Format output as json.",
|
|
2705
|
+
"helpGroup": "GLOBAL",
|
|
2706
|
+
"name": "json",
|
|
2707
|
+
"allowNo": false,
|
|
2708
|
+
"type": "boolean"
|
|
2709
|
+
},
|
|
2710
|
+
"page": {
|
|
2711
|
+
"description": "Page number",
|
|
2712
|
+
"name": "page",
|
|
2713
|
+
"default": 1,
|
|
2714
|
+
"hasDynamicHelp": false,
|
|
2715
|
+
"multiple": false,
|
|
2716
|
+
"type": "option"
|
|
2717
|
+
},
|
|
2718
|
+
"page-size": {
|
|
2719
|
+
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
2720
|
+
"name": "page-size",
|
|
2721
|
+
"default": 100,
|
|
2722
|
+
"hasDynamicHelp": false,
|
|
2723
|
+
"multiple": false,
|
|
2724
|
+
"type": "option"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"hasDynamicHelp": false,
|
|
2728
|
+
"hiddenAliases": [],
|
|
2729
|
+
"id": "asa:apps:list",
|
|
2730
|
+
"pluginAlias": "adapty",
|
|
2731
|
+
"pluginName": "adapty",
|
|
2732
|
+
"pluginType": "core",
|
|
2733
|
+
"strict": true,
|
|
2734
|
+
"enableJsonFlag": true,
|
|
2735
|
+
"isESM": true,
|
|
2736
|
+
"relativePath": [
|
|
2737
|
+
"dist",
|
|
2738
|
+
"commands",
|
|
2739
|
+
"asa",
|
|
2740
|
+
"apps",
|
|
2741
|
+
"list.js"
|
|
2742
|
+
]
|
|
2743
|
+
},
|
|
2744
|
+
"asa:ad-groups:create": {
|
|
2745
|
+
"aliases": [],
|
|
2746
|
+
"args": {},
|
|
2747
|
+
"description": "Create an ad group inside a campaign; --automated creates the automated ad group a Max Conversions campaign needs to run",
|
|
2748
|
+
"examples": [
|
|
2749
|
+
"<%= config.bin %> asa ad-groups create --campaign UUID --name \"Brand terms\" --default-bid 1.20",
|
|
2750
|
+
"<%= config.bin %> asa ad-groups create --campaign UUID --name \"Brand terms\" --default-bid 1.20 --start-time 2026-09-01 --pricing-model CPM",
|
|
2751
|
+
"<%= config.bin %> asa ad-groups create --campaign UUID --name \"Automated Max Conv\" --automated"
|
|
2752
|
+
],
|
|
2753
|
+
"flags": {
|
|
2754
|
+
"json": {
|
|
2755
|
+
"description": "Format output as json.",
|
|
2756
|
+
"helpGroup": "GLOBAL",
|
|
2757
|
+
"name": "json",
|
|
2758
|
+
"allowNo": false,
|
|
2759
|
+
"type": "boolean"
|
|
2760
|
+
},
|
|
2761
|
+
"currency": {
|
|
2762
|
+
"description": "Currency code for the amounts in this call",
|
|
2763
|
+
"name": "currency",
|
|
2764
|
+
"default": "USD",
|
|
2765
|
+
"hasDynamicHelp": false,
|
|
2766
|
+
"multiple": false,
|
|
2767
|
+
"type": "option"
|
|
2768
|
+
},
|
|
2769
|
+
"end-time": {
|
|
2770
|
+
"description": "Schedule end (YYYY-MM-DD)",
|
|
2771
|
+
"name": "end-time",
|
|
2772
|
+
"hasDynamicHelp": false,
|
|
2773
|
+
"multiple": false,
|
|
2774
|
+
"type": "option"
|
|
2775
|
+
},
|
|
2776
|
+
"start-time": {
|
|
2777
|
+
"description": "Schedule start (YYYY-MM-DD), defaults to today",
|
|
2778
|
+
"name": "start-time",
|
|
2779
|
+
"hasDynamicHelp": false,
|
|
2780
|
+
"multiple": false,
|
|
2781
|
+
"type": "option"
|
|
2782
|
+
},
|
|
2783
|
+
"pricing-model": {
|
|
2784
|
+
"description": "Pricing model; Apple requires one on every ad group",
|
|
2785
|
+
"name": "pricing-model",
|
|
2786
|
+
"default": "CPC",
|
|
2787
|
+
"hasDynamicHelp": false,
|
|
2788
|
+
"multiple": false,
|
|
2789
|
+
"options": [
|
|
2790
|
+
"CPC",
|
|
2136
2791
|
"CPM"
|
|
2137
2792
|
],
|
|
2138
2793
|
"type": "option"
|
|
@@ -2467,13 +3122,15 @@
|
|
|
2467
3122
|
"update.js"
|
|
2468
3123
|
]
|
|
2469
3124
|
},
|
|
2470
|
-
"asa:
|
|
3125
|
+
"asa:automations:create": {
|
|
2471
3126
|
"aliases": [],
|
|
2472
3127
|
"args": {},
|
|
2473
|
-
"description": "
|
|
3128
|
+
"description": "Create an automation rule from a JSON rule file. The add-as-keyword action flags fill in or override actions[0].params, so the bid, the match type and the target ad groups need no hand-written JSON.",
|
|
2474
3129
|
"examples": [
|
|
2475
|
-
"<%= config.bin %> asa
|
|
2476
|
-
"<%= config.bin %> asa
|
|
3130
|
+
"<%= config.bin %> asa automations create --file rule.json",
|
|
3131
|
+
"<%= config.bin %> asa automations create --file rule.json --run-now",
|
|
3132
|
+
"<%= config.bin %> asa automations create --file rule.json --target-ad-group AD_GROUP_ID --match-type EXACT --cpt-bid-type search_term_current_cpt",
|
|
3133
|
+
"<%= config.bin %> asa automations create --file rule.json --target-ad-group AD_GROUP_ID --match-type EXACT --cpt-bid-type set_to --cpt-bid 1.50 --negate ad-group"
|
|
2477
3134
|
],
|
|
2478
3135
|
"flags": {
|
|
2479
3136
|
"json": {
|
|
@@ -2483,26 +3140,111 @@
|
|
|
2483
3140
|
"allowNo": false,
|
|
2484
3141
|
"type": "boolean"
|
|
2485
3142
|
},
|
|
2486
|
-
"
|
|
2487
|
-
"description": "
|
|
2488
|
-
"name": "
|
|
2489
|
-
"default": 1,
|
|
3143
|
+
"cpt-bid": {
|
|
3144
|
+
"description": "cpt_bid.value: the bid itself with --cpt-bid-type set_to, or a percent markup on the entity bid with search_term_current_cpt / keyword_current_bid; not accepted with ad_group_default_bid",
|
|
3145
|
+
"name": "cpt-bid",
|
|
2490
3146
|
"hasDynamicHelp": false,
|
|
2491
3147
|
"multiple": false,
|
|
2492
3148
|
"type": "option"
|
|
2493
3149
|
},
|
|
2494
|
-
"
|
|
2495
|
-
"description": "
|
|
2496
|
-
"name": "
|
|
2497
|
-
"
|
|
3150
|
+
"cpt-bid-type": {
|
|
3151
|
+
"description": "Where the bid of the created keyword comes from; the API has no default",
|
|
3152
|
+
"name": "cpt-bid-type",
|
|
3153
|
+
"hasDynamicHelp": false,
|
|
3154
|
+
"multiple": false,
|
|
3155
|
+
"options": [
|
|
3156
|
+
"ad_group_default_bid",
|
|
3157
|
+
"keyword_current_bid",
|
|
3158
|
+
"search_term_current_cpt",
|
|
3159
|
+
"set_to"
|
|
3160
|
+
],
|
|
3161
|
+
"type": "option"
|
|
3162
|
+
},
|
|
3163
|
+
"match-type": {
|
|
3164
|
+
"description": "Match type of the created keyword; the API has no default",
|
|
3165
|
+
"name": "match-type",
|
|
3166
|
+
"hasDynamicHelp": false,
|
|
3167
|
+
"multiple": false,
|
|
3168
|
+
"options": [
|
|
3169
|
+
"BROAD",
|
|
3170
|
+
"EXACT"
|
|
3171
|
+
],
|
|
3172
|
+
"type": "option"
|
|
3173
|
+
},
|
|
3174
|
+
"negate": {
|
|
3175
|
+
"description": "Also add the search term as a negative keyword at this level (search-term rules)",
|
|
3176
|
+
"exclusive": [
|
|
3177
|
+
"no-negate"
|
|
3178
|
+
],
|
|
3179
|
+
"name": "negate",
|
|
3180
|
+
"hasDynamicHelp": false,
|
|
3181
|
+
"multiple": false,
|
|
3182
|
+
"options": [
|
|
3183
|
+
"ad-group",
|
|
3184
|
+
"campaign"
|
|
3185
|
+
],
|
|
3186
|
+
"type": "option"
|
|
3187
|
+
},
|
|
3188
|
+
"no-negate": {
|
|
3189
|
+
"description": "Leave no negative keyword behind (search-term rules)",
|
|
3190
|
+
"exclusive": [
|
|
3191
|
+
"negate"
|
|
3192
|
+
],
|
|
3193
|
+
"name": "no-negate",
|
|
3194
|
+
"allowNo": false,
|
|
3195
|
+
"type": "boolean"
|
|
3196
|
+
},
|
|
3197
|
+
"pause-original": {
|
|
3198
|
+
"description": "Pause the source keyword in its own ad group (targeting-keyword rules)",
|
|
3199
|
+
"name": "pause-original",
|
|
3200
|
+
"allowNo": true,
|
|
3201
|
+
"type": "boolean"
|
|
3202
|
+
},
|
|
3203
|
+
"skip-enable-duplicates": {
|
|
3204
|
+
"description": "Skip a keyword that already exists in the target ad group instead of enabling it (search-term rules)",
|
|
3205
|
+
"name": "skip-enable-duplicates",
|
|
3206
|
+
"allowNo": true,
|
|
3207
|
+
"type": "boolean"
|
|
3208
|
+
},
|
|
3209
|
+
"target-ad-group": {
|
|
3210
|
+
"description": "Ad group the keyword is added to (UUID), repeatable; a rule without one does nothing",
|
|
3211
|
+
"name": "target-ad-group",
|
|
3212
|
+
"hasDynamicHelp": false,
|
|
3213
|
+
"multiple": true,
|
|
3214
|
+
"type": "option"
|
|
3215
|
+
},
|
|
3216
|
+
"yes": {
|
|
3217
|
+
"char": "y",
|
|
3218
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
3219
|
+
"name": "yes",
|
|
3220
|
+
"allowNo": false,
|
|
3221
|
+
"type": "boolean"
|
|
3222
|
+
},
|
|
3223
|
+
"idempotency-key": {
|
|
3224
|
+
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
3225
|
+
"name": "idempotency-key",
|
|
3226
|
+
"hasDynamicHelp": false,
|
|
3227
|
+
"multiple": false,
|
|
3228
|
+
"type": "option"
|
|
3229
|
+
},
|
|
3230
|
+
"file": {
|
|
3231
|
+
"description": "JSON file with the rule body, or - to read stdin",
|
|
3232
|
+
"name": "file",
|
|
3233
|
+
"required": true,
|
|
2498
3234
|
"hasDynamicHelp": false,
|
|
2499
3235
|
"multiple": false,
|
|
2500
3236
|
"type": "option"
|
|
3237
|
+
},
|
|
3238
|
+
"run-now": {
|
|
3239
|
+
"description": "Queue the first run right after the rule is stored",
|
|
3240
|
+
"name": "run-now",
|
|
3241
|
+
"allowNo": false,
|
|
3242
|
+
"type": "boolean"
|
|
2501
3243
|
}
|
|
2502
3244
|
},
|
|
2503
3245
|
"hasDynamicHelp": false,
|
|
2504
3246
|
"hiddenAliases": [],
|
|
2505
|
-
"id": "asa:
|
|
3247
|
+
"id": "asa:automations:create",
|
|
2506
3248
|
"pluginAlias": "adapty",
|
|
2507
3249
|
"pluginName": "adapty",
|
|
2508
3250
|
"pluginType": "core",
|
|
@@ -2513,104 +3255,22 @@
|
|
|
2513
3255
|
"dist",
|
|
2514
3256
|
"commands",
|
|
2515
3257
|
"asa",
|
|
2516
|
-
"
|
|
2517
|
-
"
|
|
3258
|
+
"automations",
|
|
3259
|
+
"create.js"
|
|
2518
3260
|
]
|
|
2519
3261
|
},
|
|
2520
|
-
"asa:
|
|
3262
|
+
"asa:automations:get": {
|
|
2521
3263
|
"aliases": [],
|
|
2522
|
-
"args": {
|
|
2523
|
-
|
|
3264
|
+
"args": {
|
|
3265
|
+
"automation_id": {
|
|
3266
|
+
"description": "Automation rule ID (UUID)",
|
|
3267
|
+
"name": "automation_id",
|
|
3268
|
+
"required": true
|
|
3269
|
+
}
|
|
3270
|
+
},
|
|
3271
|
+
"description": "Show one automation rule with its conditions and actions",
|
|
2524
3272
|
"examples": [
|
|
2525
|
-
"<%= config.bin %> asa
|
|
2526
|
-
],
|
|
2527
|
-
"flags": {
|
|
2528
|
-
"json": {
|
|
2529
|
-
"description": "Format output as json.",
|
|
2530
|
-
"helpGroup": "GLOBAL",
|
|
2531
|
-
"name": "json",
|
|
2532
|
-
"allowNo": false,
|
|
2533
|
-
"type": "boolean"
|
|
2534
|
-
},
|
|
2535
|
-
"yes": {
|
|
2536
|
-
"char": "y",
|
|
2537
|
-
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
2538
|
-
"name": "yes",
|
|
2539
|
-
"allowNo": false,
|
|
2540
|
-
"type": "boolean"
|
|
2541
|
-
},
|
|
2542
|
-
"idempotency-key": {
|
|
2543
|
-
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
2544
|
-
"name": "idempotency-key",
|
|
2545
|
-
"hasDynamicHelp": false,
|
|
2546
|
-
"multiple": false,
|
|
2547
|
-
"type": "option"
|
|
2548
|
-
},
|
|
2549
|
-
"ad-group": {
|
|
2550
|
-
"description": "Ad group ID (UUID) — the campaign is resolved from it",
|
|
2551
|
-
"name": "ad-group",
|
|
2552
|
-
"required": true,
|
|
2553
|
-
"hasDynamicHelp": false,
|
|
2554
|
-
"multiple": false,
|
|
2555
|
-
"type": "option"
|
|
2556
|
-
},
|
|
2557
|
-
"creative-id": {
|
|
2558
|
-
"description": "Apple creative ID from a product page or the default set",
|
|
2559
|
-
"name": "creative-id",
|
|
2560
|
-
"required": true,
|
|
2561
|
-
"hasDynamicHelp": false,
|
|
2562
|
-
"multiple": false,
|
|
2563
|
-
"type": "option"
|
|
2564
|
-
},
|
|
2565
|
-
"name": {
|
|
2566
|
-
"description": "Ad name",
|
|
2567
|
-
"name": "name",
|
|
2568
|
-
"required": true,
|
|
2569
|
-
"hasDynamicHelp": false,
|
|
2570
|
-
"multiple": false,
|
|
2571
|
-
"type": "option"
|
|
2572
|
-
},
|
|
2573
|
-
"status": {
|
|
2574
|
-
"description": "Initial status",
|
|
2575
|
-
"name": "status",
|
|
2576
|
-
"hasDynamicHelp": false,
|
|
2577
|
-
"multiple": false,
|
|
2578
|
-
"options": [
|
|
2579
|
-
"ENABLED",
|
|
2580
|
-
"PAUSED"
|
|
2581
|
-
],
|
|
2582
|
-
"type": "option"
|
|
2583
|
-
}
|
|
2584
|
-
},
|
|
2585
|
-
"hasDynamicHelp": false,
|
|
2586
|
-
"hiddenAliases": [],
|
|
2587
|
-
"id": "asa:ads:create",
|
|
2588
|
-
"pluginAlias": "adapty",
|
|
2589
|
-
"pluginName": "adapty",
|
|
2590
|
-
"pluginType": "core",
|
|
2591
|
-
"strict": true,
|
|
2592
|
-
"enableJsonFlag": true,
|
|
2593
|
-
"isESM": true,
|
|
2594
|
-
"relativePath": [
|
|
2595
|
-
"dist",
|
|
2596
|
-
"commands",
|
|
2597
|
-
"asa",
|
|
2598
|
-
"ads",
|
|
2599
|
-
"create.js"
|
|
2600
|
-
]
|
|
2601
|
-
},
|
|
2602
|
-
"asa:ads:get": {
|
|
2603
|
-
"aliases": [],
|
|
2604
|
-
"args": {
|
|
2605
|
-
"ad_id": {
|
|
2606
|
-
"description": "Ad ID (UUID)",
|
|
2607
|
-
"name": "ad_id",
|
|
2608
|
-
"required": true
|
|
2609
|
-
}
|
|
2610
|
-
},
|
|
2611
|
-
"description": "Show one ad and its serving state",
|
|
2612
|
-
"examples": [
|
|
2613
|
-
"<%= config.bin %> asa ads get 550e8400-e29b-41d4-a716-446655440000"
|
|
3273
|
+
"<%= config.bin %> asa automations get 550e8400-e29b-41d4-a716-446655440000"
|
|
2614
3274
|
],
|
|
2615
3275
|
"flags": {
|
|
2616
3276
|
"json": {
|
|
@@ -2623,7 +3283,7 @@
|
|
|
2623
3283
|
},
|
|
2624
3284
|
"hasDynamicHelp": false,
|
|
2625
3285
|
"hiddenAliases": [],
|
|
2626
|
-
"id": "asa:
|
|
3286
|
+
"id": "asa:automations:get",
|
|
2627
3287
|
"pluginAlias": "adapty",
|
|
2628
3288
|
"pluginName": "adapty",
|
|
2629
3289
|
"pluginType": "core",
|
|
@@ -2634,17 +3294,16 @@
|
|
|
2634
3294
|
"dist",
|
|
2635
3295
|
"commands",
|
|
2636
3296
|
"asa",
|
|
2637
|
-
"
|
|
3297
|
+
"automations",
|
|
2638
3298
|
"get.js"
|
|
2639
3299
|
]
|
|
2640
3300
|
},
|
|
2641
|
-
"asa:
|
|
3301
|
+
"asa:automations:list": {
|
|
2642
3302
|
"aliases": [],
|
|
2643
3303
|
"args": {},
|
|
2644
|
-
"description": "List
|
|
3304
|
+
"description": "List automation rules; status 1 is active, 0 is stopped",
|
|
2645
3305
|
"examples": [
|
|
2646
|
-
"<%= config.bin %> asa
|
|
2647
|
-
"<%= config.bin %> asa ads list --ad-group AD_GROUP_UUID --status ENABLED"
|
|
3306
|
+
"<%= config.bin %> asa automations list"
|
|
2648
3307
|
],
|
|
2649
3308
|
"flags": {
|
|
2650
3309
|
"json": {
|
|
@@ -2669,50 +3328,11 @@
|
|
|
2669
3328
|
"hasDynamicHelp": false,
|
|
2670
3329
|
"multiple": false,
|
|
2671
3330
|
"type": "option"
|
|
2672
|
-
},
|
|
2673
|
-
"ad-group": {
|
|
2674
|
-
"description": "Keep only rows in this ad group; repeatable",
|
|
2675
|
-
"name": "ad-group",
|
|
2676
|
-
"hasDynamicHelp": false,
|
|
2677
|
-
"multiple": true,
|
|
2678
|
-
"type": "option"
|
|
2679
|
-
},
|
|
2680
|
-
"campaign": {
|
|
2681
|
-
"description": "Keep only rows in this campaign; repeatable",
|
|
2682
|
-
"name": "campaign",
|
|
2683
|
-
"hasDynamicHelp": false,
|
|
2684
|
-
"multiple": true,
|
|
2685
|
-
"type": "option"
|
|
2686
|
-
},
|
|
2687
|
-
"campaign-group": {
|
|
2688
|
-
"description": "Keep only rows in this campaign group; repeatable",
|
|
2689
|
-
"name": "campaign-group",
|
|
2690
|
-
"hasDynamicHelp": false,
|
|
2691
|
-
"multiple": true,
|
|
2692
|
-
"type": "option"
|
|
2693
|
-
},
|
|
2694
|
-
"search": {
|
|
2695
|
-
"description": "Case-insensitive substring match on the name",
|
|
2696
|
-
"name": "search",
|
|
2697
|
-
"hasDynamicHelp": false,
|
|
2698
|
-
"multiple": false,
|
|
2699
|
-
"type": "option"
|
|
2700
|
-
},
|
|
2701
|
-
"status": {
|
|
2702
|
-
"description": "Keep only rows in this state",
|
|
2703
|
-
"name": "status",
|
|
2704
|
-
"hasDynamicHelp": false,
|
|
2705
|
-
"multiple": false,
|
|
2706
|
-
"options": [
|
|
2707
|
-
"ENABLED",
|
|
2708
|
-
"PAUSED"
|
|
2709
|
-
],
|
|
2710
|
-
"type": "option"
|
|
2711
3331
|
}
|
|
2712
3332
|
},
|
|
2713
3333
|
"hasDynamicHelp": false,
|
|
2714
3334
|
"hiddenAliases": [],
|
|
2715
|
-
"id": "asa:
|
|
3335
|
+
"id": "asa:automations:list",
|
|
2716
3336
|
"pluginAlias": "adapty",
|
|
2717
3337
|
"pluginName": "adapty",
|
|
2718
3338
|
"pluginType": "core",
|
|
@@ -2723,22 +3343,23 @@
|
|
|
2723
3343
|
"dist",
|
|
2724
3344
|
"commands",
|
|
2725
3345
|
"asa",
|
|
2726
|
-
"
|
|
3346
|
+
"automations",
|
|
2727
3347
|
"list.js"
|
|
2728
3348
|
]
|
|
2729
3349
|
},
|
|
2730
|
-
"asa:
|
|
3350
|
+
"asa:automations:run": {
|
|
2731
3351
|
"aliases": [],
|
|
2732
3352
|
"args": {
|
|
2733
|
-
"
|
|
2734
|
-
"description": "
|
|
2735
|
-
"name": "
|
|
3353
|
+
"automation_id": {
|
|
3354
|
+
"description": "Automation rule ID (UUID)",
|
|
3355
|
+
"name": "automation_id",
|
|
2736
3356
|
"required": true
|
|
2737
3357
|
}
|
|
2738
3358
|
},
|
|
2739
|
-
"description": "
|
|
3359
|
+
"description": "Run an automation rule now; the run is queued, not awaited",
|
|
2740
3360
|
"examples": [
|
|
2741
|
-
"<%= config.bin %> asa
|
|
3361
|
+
"<%= config.bin %> asa automations run UUID",
|
|
3362
|
+
"<%= config.bin %> asa automations run UUID --dry-run"
|
|
2742
3363
|
],
|
|
2743
3364
|
"flags": {
|
|
2744
3365
|
"json": {
|
|
@@ -2762,28 +3383,71 @@
|
|
|
2762
3383
|
"multiple": false,
|
|
2763
3384
|
"type": "option"
|
|
2764
3385
|
},
|
|
2765
|
-
"
|
|
2766
|
-
"description": "
|
|
2767
|
-
"name": "
|
|
3386
|
+
"dry-run": {
|
|
3387
|
+
"description": "Evaluate and log the rule without touching Apple",
|
|
3388
|
+
"name": "dry-run",
|
|
3389
|
+
"allowNo": false,
|
|
3390
|
+
"type": "boolean"
|
|
3391
|
+
}
|
|
3392
|
+
},
|
|
3393
|
+
"hasDynamicHelp": false,
|
|
3394
|
+
"hiddenAliases": [],
|
|
3395
|
+
"id": "asa:automations:run",
|
|
3396
|
+
"pluginAlias": "adapty",
|
|
3397
|
+
"pluginName": "adapty",
|
|
3398
|
+
"pluginType": "core",
|
|
3399
|
+
"strict": true,
|
|
3400
|
+
"enableJsonFlag": true,
|
|
3401
|
+
"isESM": true,
|
|
3402
|
+
"relativePath": [
|
|
3403
|
+
"dist",
|
|
3404
|
+
"commands",
|
|
3405
|
+
"asa",
|
|
3406
|
+
"automations",
|
|
3407
|
+
"run.js"
|
|
3408
|
+
]
|
|
3409
|
+
},
|
|
3410
|
+
"asa:automations:runs": {
|
|
3411
|
+
"aliases": [],
|
|
3412
|
+
"args": {
|
|
3413
|
+
"automation_id": {
|
|
3414
|
+
"description": "Automation rule ID (UUID)",
|
|
3415
|
+
"name": "automation_id",
|
|
3416
|
+
"required": true
|
|
3417
|
+
}
|
|
3418
|
+
},
|
|
3419
|
+
"description": "List past runs of an automation rule, including dry runs",
|
|
3420
|
+
"examples": [
|
|
3421
|
+
"<%= config.bin %> asa automations runs 550e8400-e29b-41d4-a716-446655440000"
|
|
3422
|
+
],
|
|
3423
|
+
"flags": {
|
|
3424
|
+
"json": {
|
|
3425
|
+
"description": "Format output as json.",
|
|
3426
|
+
"helpGroup": "GLOBAL",
|
|
3427
|
+
"name": "json",
|
|
3428
|
+
"allowNo": false,
|
|
3429
|
+
"type": "boolean"
|
|
3430
|
+
},
|
|
3431
|
+
"page": {
|
|
3432
|
+
"description": "Page number",
|
|
3433
|
+
"name": "page",
|
|
3434
|
+
"default": 1,
|
|
2768
3435
|
"hasDynamicHelp": false,
|
|
2769
3436
|
"multiple": false,
|
|
2770
3437
|
"type": "option"
|
|
2771
3438
|
},
|
|
2772
|
-
"
|
|
2773
|
-
"description": "
|
|
2774
|
-
"name": "
|
|
3439
|
+
"page-size": {
|
|
3440
|
+
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
3441
|
+
"name": "page-size",
|
|
3442
|
+
"default": 100,
|
|
2775
3443
|
"hasDynamicHelp": false,
|
|
2776
3444
|
"multiple": false,
|
|
2777
|
-
"options": [
|
|
2778
|
-
"ENABLED",
|
|
2779
|
-
"PAUSED"
|
|
2780
|
-
],
|
|
2781
3445
|
"type": "option"
|
|
2782
3446
|
}
|
|
2783
3447
|
},
|
|
2784
3448
|
"hasDynamicHelp": false,
|
|
2785
3449
|
"hiddenAliases": [],
|
|
2786
|
-
"id": "asa:
|
|
3450
|
+
"id": "asa:automations:runs",
|
|
2787
3451
|
"pluginAlias": "adapty",
|
|
2788
3452
|
"pluginName": "adapty",
|
|
2789
3453
|
"pluginType": "core",
|
|
@@ -2794,19 +3458,24 @@
|
|
|
2794
3458
|
"dist",
|
|
2795
3459
|
"commands",
|
|
2796
3460
|
"asa",
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
3461
|
+
"automations",
|
|
3462
|
+
"runs.js"
|
|
2799
3463
|
]
|
|
2800
3464
|
},
|
|
2801
|
-
"asa:automations:
|
|
3465
|
+
"asa:automations:update": {
|
|
2802
3466
|
"aliases": [],
|
|
2803
|
-
"args": {
|
|
2804
|
-
|
|
3467
|
+
"args": {
|
|
3468
|
+
"automation_id": {
|
|
3469
|
+
"description": "Automation rule ID (UUID)",
|
|
3470
|
+
"name": "automation_id",
|
|
3471
|
+
"required": true
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"description": "Change an automation rule: stop it, rename it, or replace parts of the rule. An add-as-keyword action flag turns the call into a read-modify-write: the rule is read, actions[0].params is rebuilt from the flags and the whole actions list is written back — an edit someone makes in the dashboard in between is overwritten. This is also the way to repair a rule whose stored params carry the wrong shape.",
|
|
2805
3475
|
"examples": [
|
|
2806
|
-
"<%= config.bin %> asa automations
|
|
2807
|
-
"<%= config.bin %> asa automations
|
|
2808
|
-
"<%= config.bin %> asa automations
|
|
2809
|
-
"<%= config.bin %> asa automations create --file rule.json --target-ad-group AD_GROUP_ID --match-type EXACT --cpt-bid-type set_to --cpt-bid 1.50 --negate ad-group"
|
|
3476
|
+
"<%= config.bin %> asa automations update UUID --stop",
|
|
3477
|
+
"<%= config.bin %> asa automations update UUID --file rule.json",
|
|
3478
|
+
"<%= config.bin %> asa automations update UUID --target-ad-group AD_GROUP_ID --match-type EXACT --cpt-bid-type search_term_current_cpt"
|
|
2810
3479
|
],
|
|
2811
3480
|
"flags": {
|
|
2812
3481
|
"json": {
|
|
@@ -2904,62 +3573,41 @@
|
|
|
2904
3573
|
"type": "option"
|
|
2905
3574
|
},
|
|
2906
3575
|
"file": {
|
|
2907
|
-
"description": "JSON file with the
|
|
3576
|
+
"description": "JSON file with the parts to change, or - to read stdin",
|
|
2908
3577
|
"name": "file",
|
|
2909
|
-
"required": true,
|
|
2910
3578
|
"hasDynamicHelp": false,
|
|
2911
3579
|
"multiple": false,
|
|
2912
3580
|
"type": "option"
|
|
2913
3581
|
},
|
|
2914
|
-
"
|
|
2915
|
-
"description": "
|
|
2916
|
-
"name": "
|
|
3582
|
+
"name": {
|
|
3583
|
+
"description": "Rule name",
|
|
3584
|
+
"name": "name",
|
|
3585
|
+
"hasDynamicHelp": false,
|
|
3586
|
+
"multiple": false,
|
|
3587
|
+
"type": "option"
|
|
3588
|
+
},
|
|
3589
|
+
"start": {
|
|
3590
|
+
"description": "Activate the rule",
|
|
3591
|
+
"exclusive": [
|
|
3592
|
+
"stop"
|
|
3593
|
+
],
|
|
3594
|
+
"name": "start",
|
|
2917
3595
|
"allowNo": false,
|
|
2918
3596
|
"type": "boolean"
|
|
2919
|
-
}
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
"pluginType": "core",
|
|
2927
|
-
"strict": true,
|
|
2928
|
-
"enableJsonFlag": true,
|
|
2929
|
-
"isESM": true,
|
|
2930
|
-
"relativePath": [
|
|
2931
|
-
"dist",
|
|
2932
|
-
"commands",
|
|
2933
|
-
"asa",
|
|
2934
|
-
"automations",
|
|
2935
|
-
"create.js"
|
|
2936
|
-
]
|
|
2937
|
-
},
|
|
2938
|
-
"asa:automations:get": {
|
|
2939
|
-
"aliases": [],
|
|
2940
|
-
"args": {
|
|
2941
|
-
"automation_id": {
|
|
2942
|
-
"description": "Automation rule ID (UUID)",
|
|
2943
|
-
"name": "automation_id",
|
|
2944
|
-
"required": true
|
|
2945
|
-
}
|
|
2946
|
-
},
|
|
2947
|
-
"description": "Show one automation rule with its conditions and actions",
|
|
2948
|
-
"examples": [
|
|
2949
|
-
"<%= config.bin %> asa automations get 550e8400-e29b-41d4-a716-446655440000"
|
|
2950
|
-
],
|
|
2951
|
-
"flags": {
|
|
2952
|
-
"json": {
|
|
2953
|
-
"description": "Format output as json.",
|
|
2954
|
-
"helpGroup": "GLOBAL",
|
|
2955
|
-
"name": "json",
|
|
3597
|
+
},
|
|
3598
|
+
"stop": {
|
|
3599
|
+
"description": "Stop the rule and clear its next run",
|
|
3600
|
+
"exclusive": [
|
|
3601
|
+
"start"
|
|
3602
|
+
],
|
|
3603
|
+
"name": "stop",
|
|
2956
3604
|
"allowNo": false,
|
|
2957
3605
|
"type": "boolean"
|
|
2958
3606
|
}
|
|
2959
3607
|
},
|
|
2960
3608
|
"hasDynamicHelp": false,
|
|
2961
3609
|
"hiddenAliases": [],
|
|
2962
|
-
"id": "asa:automations:
|
|
3610
|
+
"id": "asa:automations:update",
|
|
2963
3611
|
"pluginAlias": "adapty",
|
|
2964
3612
|
"pluginName": "adapty",
|
|
2965
3613
|
"pluginType": "core",
|
|
@@ -2971,15 +3619,15 @@
|
|
|
2971
3619
|
"commands",
|
|
2972
3620
|
"asa",
|
|
2973
3621
|
"automations",
|
|
2974
|
-
"
|
|
3622
|
+
"update.js"
|
|
2975
3623
|
]
|
|
2976
3624
|
},
|
|
2977
|
-
"asa:
|
|
3625
|
+
"asa:ads:create": {
|
|
2978
3626
|
"aliases": [],
|
|
2979
3627
|
"args": {},
|
|
2980
|
-
"description": "
|
|
3628
|
+
"description": "Create an ad from a creative in an ad group",
|
|
2981
3629
|
"examples": [
|
|
2982
|
-
"<%= config.bin %> asa
|
|
3630
|
+
"<%= config.bin %> asa ads create --ad-group UUID --creative-id 4321 --name \"Summer ad\""
|
|
2983
3631
|
],
|
|
2984
3632
|
"flags": {
|
|
2985
3633
|
"json": {
|
|
@@ -2989,26 +3637,59 @@
|
|
|
2989
3637
|
"allowNo": false,
|
|
2990
3638
|
"type": "boolean"
|
|
2991
3639
|
},
|
|
2992
|
-
"
|
|
2993
|
-
"
|
|
2994
|
-
"
|
|
2995
|
-
"
|
|
3640
|
+
"yes": {
|
|
3641
|
+
"char": "y",
|
|
3642
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
3643
|
+
"name": "yes",
|
|
3644
|
+
"allowNo": false,
|
|
3645
|
+
"type": "boolean"
|
|
3646
|
+
},
|
|
3647
|
+
"idempotency-key": {
|
|
3648
|
+
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
3649
|
+
"name": "idempotency-key",
|
|
2996
3650
|
"hasDynamicHelp": false,
|
|
2997
3651
|
"multiple": false,
|
|
2998
3652
|
"type": "option"
|
|
2999
3653
|
},
|
|
3000
|
-
"
|
|
3001
|
-
"description": "
|
|
3002
|
-
"name": "
|
|
3003
|
-
"
|
|
3654
|
+
"ad-group": {
|
|
3655
|
+
"description": "Ad group ID (UUID) — the campaign is resolved from it",
|
|
3656
|
+
"name": "ad-group",
|
|
3657
|
+
"required": true,
|
|
3658
|
+
"hasDynamicHelp": false,
|
|
3659
|
+
"multiple": false,
|
|
3660
|
+
"type": "option"
|
|
3661
|
+
},
|
|
3662
|
+
"creative-id": {
|
|
3663
|
+
"description": "Apple creative ID from a product page or the default set",
|
|
3664
|
+
"name": "creative-id",
|
|
3665
|
+
"required": true,
|
|
3666
|
+
"hasDynamicHelp": false,
|
|
3667
|
+
"multiple": false,
|
|
3668
|
+
"type": "option"
|
|
3669
|
+
},
|
|
3670
|
+
"name": {
|
|
3671
|
+
"description": "Ad name",
|
|
3672
|
+
"name": "name",
|
|
3673
|
+
"required": true,
|
|
3674
|
+
"hasDynamicHelp": false,
|
|
3675
|
+
"multiple": false,
|
|
3676
|
+
"type": "option"
|
|
3677
|
+
},
|
|
3678
|
+
"status": {
|
|
3679
|
+
"description": "Initial status",
|
|
3680
|
+
"name": "status",
|
|
3004
3681
|
"hasDynamicHelp": false,
|
|
3005
3682
|
"multiple": false,
|
|
3683
|
+
"options": [
|
|
3684
|
+
"ENABLED",
|
|
3685
|
+
"PAUSED"
|
|
3686
|
+
],
|
|
3006
3687
|
"type": "option"
|
|
3007
3688
|
}
|
|
3008
3689
|
},
|
|
3009
3690
|
"hasDynamicHelp": false,
|
|
3010
3691
|
"hiddenAliases": [],
|
|
3011
|
-
"id": "asa:
|
|
3692
|
+
"id": "asa:ads:create",
|
|
3012
3693
|
"pluginAlias": "adapty",
|
|
3013
3694
|
"pluginName": "adapty",
|
|
3014
3695
|
"pluginType": "core",
|
|
@@ -3019,23 +3700,22 @@
|
|
|
3019
3700
|
"dist",
|
|
3020
3701
|
"commands",
|
|
3021
3702
|
"asa",
|
|
3022
|
-
"
|
|
3023
|
-
"
|
|
3703
|
+
"ads",
|
|
3704
|
+
"create.js"
|
|
3024
3705
|
]
|
|
3025
3706
|
},
|
|
3026
|
-
"asa:
|
|
3707
|
+
"asa:ads:get": {
|
|
3027
3708
|
"aliases": [],
|
|
3028
3709
|
"args": {
|
|
3029
|
-
"
|
|
3030
|
-
"description": "
|
|
3031
|
-
"name": "
|
|
3710
|
+
"ad_id": {
|
|
3711
|
+
"description": "Ad ID (UUID)",
|
|
3712
|
+
"name": "ad_id",
|
|
3032
3713
|
"required": true
|
|
3033
3714
|
}
|
|
3034
3715
|
},
|
|
3035
|
-
"description": "
|
|
3716
|
+
"description": "Show one ad and its serving state",
|
|
3036
3717
|
"examples": [
|
|
3037
|
-
"<%= config.bin %> asa
|
|
3038
|
-
"<%= config.bin %> asa automations run UUID --dry-run"
|
|
3718
|
+
"<%= config.bin %> asa ads get 550e8400-e29b-41d4-a716-446655440000"
|
|
3039
3719
|
],
|
|
3040
3720
|
"flags": {
|
|
3041
3721
|
"json": {
|
|
@@ -3044,31 +3724,11 @@
|
|
|
3044
3724
|
"name": "json",
|
|
3045
3725
|
"allowNo": false,
|
|
3046
3726
|
"type": "boolean"
|
|
3047
|
-
},
|
|
3048
|
-
"yes": {
|
|
3049
|
-
"char": "y",
|
|
3050
|
-
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
3051
|
-
"name": "yes",
|
|
3052
|
-
"allowNo": false,
|
|
3053
|
-
"type": "boolean"
|
|
3054
|
-
},
|
|
3055
|
-
"idempotency-key": {
|
|
3056
|
-
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
3057
|
-
"name": "idempotency-key",
|
|
3058
|
-
"hasDynamicHelp": false,
|
|
3059
|
-
"multiple": false,
|
|
3060
|
-
"type": "option"
|
|
3061
|
-
},
|
|
3062
|
-
"dry-run": {
|
|
3063
|
-
"description": "Evaluate and log the rule without touching Apple",
|
|
3064
|
-
"name": "dry-run",
|
|
3065
|
-
"allowNo": false,
|
|
3066
|
-
"type": "boolean"
|
|
3067
3727
|
}
|
|
3068
3728
|
},
|
|
3069
3729
|
"hasDynamicHelp": false,
|
|
3070
3730
|
"hiddenAliases": [],
|
|
3071
|
-
"id": "asa:
|
|
3731
|
+
"id": "asa:ads:get",
|
|
3072
3732
|
"pluginAlias": "adapty",
|
|
3073
3733
|
"pluginName": "adapty",
|
|
3074
3734
|
"pluginType": "core",
|
|
@@ -3079,22 +3739,17 @@
|
|
|
3079
3739
|
"dist",
|
|
3080
3740
|
"commands",
|
|
3081
3741
|
"asa",
|
|
3082
|
-
"
|
|
3083
|
-
"
|
|
3742
|
+
"ads",
|
|
3743
|
+
"get.js"
|
|
3084
3744
|
]
|
|
3085
3745
|
},
|
|
3086
|
-
"asa:
|
|
3746
|
+
"asa:ads:list": {
|
|
3087
3747
|
"aliases": [],
|
|
3088
|
-
"args": {
|
|
3089
|
-
|
|
3090
|
-
"description": "Automation rule ID (UUID)",
|
|
3091
|
-
"name": "automation_id",
|
|
3092
|
-
"required": true
|
|
3093
|
-
}
|
|
3094
|
-
},
|
|
3095
|
-
"description": "List past runs of an automation rule, including dry runs",
|
|
3748
|
+
"args": {},
|
|
3749
|
+
"description": "List ads; serving_state_reasons explains why an enabled ad is not running",
|
|
3096
3750
|
"examples": [
|
|
3097
|
-
"<%= config.bin %> asa
|
|
3751
|
+
"<%= config.bin %> asa ads list",
|
|
3752
|
+
"<%= config.bin %> asa ads list --ad-group AD_GROUP_UUID --status ENABLED"
|
|
3098
3753
|
],
|
|
3099
3754
|
"flags": {
|
|
3100
3755
|
"json": {
|
|
@@ -3119,11 +3774,50 @@
|
|
|
3119
3774
|
"hasDynamicHelp": false,
|
|
3120
3775
|
"multiple": false,
|
|
3121
3776
|
"type": "option"
|
|
3777
|
+
},
|
|
3778
|
+
"ad-group": {
|
|
3779
|
+
"description": "Keep only rows in this ad group; repeatable",
|
|
3780
|
+
"name": "ad-group",
|
|
3781
|
+
"hasDynamicHelp": false,
|
|
3782
|
+
"multiple": true,
|
|
3783
|
+
"type": "option"
|
|
3784
|
+
},
|
|
3785
|
+
"campaign": {
|
|
3786
|
+
"description": "Keep only rows in this campaign; repeatable",
|
|
3787
|
+
"name": "campaign",
|
|
3788
|
+
"hasDynamicHelp": false,
|
|
3789
|
+
"multiple": true,
|
|
3790
|
+
"type": "option"
|
|
3791
|
+
},
|
|
3792
|
+
"campaign-group": {
|
|
3793
|
+
"description": "Keep only rows in this campaign group; repeatable",
|
|
3794
|
+
"name": "campaign-group",
|
|
3795
|
+
"hasDynamicHelp": false,
|
|
3796
|
+
"multiple": true,
|
|
3797
|
+
"type": "option"
|
|
3798
|
+
},
|
|
3799
|
+
"search": {
|
|
3800
|
+
"description": "Case-insensitive substring match on the name",
|
|
3801
|
+
"name": "search",
|
|
3802
|
+
"hasDynamicHelp": false,
|
|
3803
|
+
"multiple": false,
|
|
3804
|
+
"type": "option"
|
|
3805
|
+
},
|
|
3806
|
+
"status": {
|
|
3807
|
+
"description": "Keep only rows in this state",
|
|
3808
|
+
"name": "status",
|
|
3809
|
+
"hasDynamicHelp": false,
|
|
3810
|
+
"multiple": false,
|
|
3811
|
+
"options": [
|
|
3812
|
+
"ENABLED",
|
|
3813
|
+
"PAUSED"
|
|
3814
|
+
],
|
|
3815
|
+
"type": "option"
|
|
3122
3816
|
}
|
|
3123
3817
|
},
|
|
3124
3818
|
"hasDynamicHelp": false,
|
|
3125
3819
|
"hiddenAliases": [],
|
|
3126
|
-
"id": "asa:
|
|
3820
|
+
"id": "asa:ads:list",
|
|
3127
3821
|
"pluginAlias": "adapty",
|
|
3128
3822
|
"pluginName": "adapty",
|
|
3129
3823
|
"pluginType": "core",
|
|
@@ -3134,24 +3828,22 @@
|
|
|
3134
3828
|
"dist",
|
|
3135
3829
|
"commands",
|
|
3136
3830
|
"asa",
|
|
3137
|
-
"
|
|
3138
|
-
"
|
|
3831
|
+
"ads",
|
|
3832
|
+
"list.js"
|
|
3139
3833
|
]
|
|
3140
3834
|
},
|
|
3141
|
-
"asa:
|
|
3835
|
+
"asa:ads:update": {
|
|
3142
3836
|
"aliases": [],
|
|
3143
3837
|
"args": {
|
|
3144
|
-
"
|
|
3145
|
-
"description": "
|
|
3146
|
-
"name": "
|
|
3838
|
+
"ad_id": {
|
|
3839
|
+
"description": "Ad ID (UUID)",
|
|
3840
|
+
"name": "ad_id",
|
|
3147
3841
|
"required": true
|
|
3148
3842
|
}
|
|
3149
3843
|
},
|
|
3150
|
-
"description": "
|
|
3844
|
+
"description": "Rename an ad or pause it; the creative and ad group are fixed at creation",
|
|
3151
3845
|
"examples": [
|
|
3152
|
-
"<%= config.bin %> asa
|
|
3153
|
-
"<%= config.bin %> asa automations update UUID --file rule.json",
|
|
3154
|
-
"<%= config.bin %> asa automations update UUID --target-ad-group AD_GROUP_ID --match-type EXACT --cpt-bid-type search_term_current_cpt"
|
|
3846
|
+
"<%= config.bin %> asa ads update UUID --status PAUSED"
|
|
3155
3847
|
],
|
|
3156
3848
|
"flags": {
|
|
3157
3849
|
"json": {
|
|
@@ -3161,129 +3853,42 @@
|
|
|
3161
3853
|
"allowNo": false,
|
|
3162
3854
|
"type": "boolean"
|
|
3163
3855
|
},
|
|
3164
|
-
"
|
|
3165
|
-
"
|
|
3166
|
-
"
|
|
3856
|
+
"yes": {
|
|
3857
|
+
"char": "y",
|
|
3858
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
3859
|
+
"name": "yes",
|
|
3860
|
+
"allowNo": false,
|
|
3861
|
+
"type": "boolean"
|
|
3862
|
+
},
|
|
3863
|
+
"idempotency-key": {
|
|
3864
|
+
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
3865
|
+
"name": "idempotency-key",
|
|
3167
3866
|
"hasDynamicHelp": false,
|
|
3168
3867
|
"multiple": false,
|
|
3169
3868
|
"type": "option"
|
|
3170
3869
|
},
|
|
3171
|
-
"
|
|
3172
|
-
"description": "
|
|
3173
|
-
"name": "
|
|
3870
|
+
"name": {
|
|
3871
|
+
"description": "Ad name",
|
|
3872
|
+
"name": "name",
|
|
3174
3873
|
"hasDynamicHelp": false,
|
|
3175
3874
|
"multiple": false,
|
|
3176
|
-
"options": [
|
|
3177
|
-
"ad_group_default_bid",
|
|
3178
|
-
"keyword_current_bid",
|
|
3179
|
-
"search_term_current_cpt",
|
|
3180
|
-
"set_to"
|
|
3181
|
-
],
|
|
3182
3875
|
"type": "option"
|
|
3183
3876
|
},
|
|
3184
|
-
"
|
|
3185
|
-
"description": "
|
|
3186
|
-
"name": "
|
|
3877
|
+
"status": {
|
|
3878
|
+
"description": "Ad status",
|
|
3879
|
+
"name": "status",
|
|
3187
3880
|
"hasDynamicHelp": false,
|
|
3188
3881
|
"multiple": false,
|
|
3189
3882
|
"options": [
|
|
3190
|
-
"
|
|
3191
|
-
"
|
|
3883
|
+
"ENABLED",
|
|
3884
|
+
"PAUSED"
|
|
3192
3885
|
],
|
|
3193
3886
|
"type": "option"
|
|
3194
|
-
},
|
|
3195
|
-
"negate": {
|
|
3196
|
-
"description": "Also add the search term as a negative keyword at this level (search-term rules)",
|
|
3197
|
-
"exclusive": [
|
|
3198
|
-
"no-negate"
|
|
3199
|
-
],
|
|
3200
|
-
"name": "negate",
|
|
3201
|
-
"hasDynamicHelp": false,
|
|
3202
|
-
"multiple": false,
|
|
3203
|
-
"options": [
|
|
3204
|
-
"ad-group",
|
|
3205
|
-
"campaign"
|
|
3206
|
-
],
|
|
3207
|
-
"type": "option"
|
|
3208
|
-
},
|
|
3209
|
-
"no-negate": {
|
|
3210
|
-
"description": "Leave no negative keyword behind (search-term rules)",
|
|
3211
|
-
"exclusive": [
|
|
3212
|
-
"negate"
|
|
3213
|
-
],
|
|
3214
|
-
"name": "no-negate",
|
|
3215
|
-
"allowNo": false,
|
|
3216
|
-
"type": "boolean"
|
|
3217
|
-
},
|
|
3218
|
-
"pause-original": {
|
|
3219
|
-
"description": "Pause the source keyword in its own ad group (targeting-keyword rules)",
|
|
3220
|
-
"name": "pause-original",
|
|
3221
|
-
"allowNo": true,
|
|
3222
|
-
"type": "boolean"
|
|
3223
|
-
},
|
|
3224
|
-
"skip-enable-duplicates": {
|
|
3225
|
-
"description": "Skip a keyword that already exists in the target ad group instead of enabling it (search-term rules)",
|
|
3226
|
-
"name": "skip-enable-duplicates",
|
|
3227
|
-
"allowNo": true,
|
|
3228
|
-
"type": "boolean"
|
|
3229
|
-
},
|
|
3230
|
-
"target-ad-group": {
|
|
3231
|
-
"description": "Ad group the keyword is added to (UUID), repeatable; a rule without one does nothing",
|
|
3232
|
-
"name": "target-ad-group",
|
|
3233
|
-
"hasDynamicHelp": false,
|
|
3234
|
-
"multiple": true,
|
|
3235
|
-
"type": "option"
|
|
3236
|
-
},
|
|
3237
|
-
"yes": {
|
|
3238
|
-
"char": "y",
|
|
3239
|
-
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
3240
|
-
"name": "yes",
|
|
3241
|
-
"allowNo": false,
|
|
3242
|
-
"type": "boolean"
|
|
3243
|
-
},
|
|
3244
|
-
"idempotency-key": {
|
|
3245
|
-
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
3246
|
-
"name": "idempotency-key",
|
|
3247
|
-
"hasDynamicHelp": false,
|
|
3248
|
-
"multiple": false,
|
|
3249
|
-
"type": "option"
|
|
3250
|
-
},
|
|
3251
|
-
"file": {
|
|
3252
|
-
"description": "JSON file with the parts to change, or - to read stdin",
|
|
3253
|
-
"name": "file",
|
|
3254
|
-
"hasDynamicHelp": false,
|
|
3255
|
-
"multiple": false,
|
|
3256
|
-
"type": "option"
|
|
3257
|
-
},
|
|
3258
|
-
"name": {
|
|
3259
|
-
"description": "Rule name",
|
|
3260
|
-
"name": "name",
|
|
3261
|
-
"hasDynamicHelp": false,
|
|
3262
|
-
"multiple": false,
|
|
3263
|
-
"type": "option"
|
|
3264
|
-
},
|
|
3265
|
-
"start": {
|
|
3266
|
-
"description": "Activate the rule",
|
|
3267
|
-
"exclusive": [
|
|
3268
|
-
"stop"
|
|
3269
|
-
],
|
|
3270
|
-
"name": "start",
|
|
3271
|
-
"allowNo": false,
|
|
3272
|
-
"type": "boolean"
|
|
3273
|
-
},
|
|
3274
|
-
"stop": {
|
|
3275
|
-
"description": "Stop the rule and clear its next run",
|
|
3276
|
-
"exclusive": [
|
|
3277
|
-
"start"
|
|
3278
|
-
],
|
|
3279
|
-
"name": "stop",
|
|
3280
|
-
"allowNo": false,
|
|
3281
|
-
"type": "boolean"
|
|
3282
3887
|
}
|
|
3283
3888
|
},
|
|
3284
3889
|
"hasDynamicHelp": false,
|
|
3285
3890
|
"hiddenAliases": [],
|
|
3286
|
-
"id": "asa:
|
|
3891
|
+
"id": "asa:ads:update",
|
|
3287
3892
|
"pluginAlias": "adapty",
|
|
3288
3893
|
"pluginName": "adapty",
|
|
3289
3894
|
"pluginType": "core",
|
|
@@ -3294,115 +3899,10 @@
|
|
|
3294
3899
|
"dist",
|
|
3295
3900
|
"commands",
|
|
3296
3901
|
"asa",
|
|
3297
|
-
"
|
|
3902
|
+
"ads",
|
|
3298
3903
|
"update.js"
|
|
3299
3904
|
]
|
|
3300
3905
|
},
|
|
3301
|
-
"asa:competitors:summary": {
|
|
3302
|
-
"aliases": [],
|
|
3303
|
-
"args": {},
|
|
3304
|
-
"description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
|
|
3305
|
-
"examples": [
|
|
3306
|
-
"<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
|
|
3307
|
-
],
|
|
3308
|
-
"flags": {
|
|
3309
|
-
"json": {
|
|
3310
|
-
"description": "Format output as json.",
|
|
3311
|
-
"helpGroup": "GLOBAL",
|
|
3312
|
-
"name": "json",
|
|
3313
|
-
"allowNo": false,
|
|
3314
|
-
"type": "boolean"
|
|
3315
|
-
},
|
|
3316
|
-
"app-ids": {
|
|
3317
|
-
"description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
|
|
3318
|
-
"name": "app-ids",
|
|
3319
|
-
"required": true,
|
|
3320
|
-
"hasDynamicHelp": false,
|
|
3321
|
-
"multiple": false,
|
|
3322
|
-
"type": "option"
|
|
3323
|
-
}
|
|
3324
|
-
},
|
|
3325
|
-
"hasDynamicHelp": false,
|
|
3326
|
-
"hiddenAliases": [],
|
|
3327
|
-
"id": "asa:competitors:summary",
|
|
3328
|
-
"pluginAlias": "adapty",
|
|
3329
|
-
"pluginName": "adapty",
|
|
3330
|
-
"pluginType": "core",
|
|
3331
|
-
"strict": true,
|
|
3332
|
-
"enableJsonFlag": true,
|
|
3333
|
-
"isESM": true,
|
|
3334
|
-
"relativePath": [
|
|
3335
|
-
"dist",
|
|
3336
|
-
"commands",
|
|
3337
|
-
"asa",
|
|
3338
|
-
"competitors",
|
|
3339
|
-
"summary.js"
|
|
3340
|
-
]
|
|
3341
|
-
},
|
|
3342
|
-
"asa:creatives:list": {
|
|
3343
|
-
"aliases": [],
|
|
3344
|
-
"args": {},
|
|
3345
|
-
"description": "List creatives; creative_id is what `asa ads create` needs",
|
|
3346
|
-
"examples": [
|
|
3347
|
-
"<%= config.bin %> asa creatives list",
|
|
3348
|
-
"<%= config.bin %> asa creatives list --app APP_UUID"
|
|
3349
|
-
],
|
|
3350
|
-
"flags": {
|
|
3351
|
-
"json": {
|
|
3352
|
-
"description": "Format output as json.",
|
|
3353
|
-
"helpGroup": "GLOBAL",
|
|
3354
|
-
"name": "json",
|
|
3355
|
-
"allowNo": false,
|
|
3356
|
-
"type": "boolean"
|
|
3357
|
-
},
|
|
3358
|
-
"page": {
|
|
3359
|
-
"description": "Page number",
|
|
3360
|
-
"name": "page",
|
|
3361
|
-
"default": 1,
|
|
3362
|
-
"hasDynamicHelp": false,
|
|
3363
|
-
"multiple": false,
|
|
3364
|
-
"type": "option"
|
|
3365
|
-
},
|
|
3366
|
-
"page-size": {
|
|
3367
|
-
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
3368
|
-
"name": "page-size",
|
|
3369
|
-
"default": 100,
|
|
3370
|
-
"hasDynamicHelp": false,
|
|
3371
|
-
"multiple": false,
|
|
3372
|
-
"type": "option"
|
|
3373
|
-
},
|
|
3374
|
-
"app": {
|
|
3375
|
-
"description": "Keep only rows in this app; repeatable",
|
|
3376
|
-
"name": "app",
|
|
3377
|
-
"hasDynamicHelp": false,
|
|
3378
|
-
"multiple": true,
|
|
3379
|
-
"type": "option"
|
|
3380
|
-
},
|
|
3381
|
-
"campaign-group": {
|
|
3382
|
-
"description": "Keep only rows in this campaign group; repeatable",
|
|
3383
|
-
"name": "campaign-group",
|
|
3384
|
-
"hasDynamicHelp": false,
|
|
3385
|
-
"multiple": true,
|
|
3386
|
-
"type": "option"
|
|
3387
|
-
}
|
|
3388
|
-
},
|
|
3389
|
-
"hasDynamicHelp": false,
|
|
3390
|
-
"hiddenAliases": [],
|
|
3391
|
-
"id": "asa:creatives:list",
|
|
3392
|
-
"pluginAlias": "adapty",
|
|
3393
|
-
"pluginName": "adapty",
|
|
3394
|
-
"pluginType": "core",
|
|
3395
|
-
"strict": true,
|
|
3396
|
-
"enableJsonFlag": true,
|
|
3397
|
-
"isESM": true,
|
|
3398
|
-
"relativePath": [
|
|
3399
|
-
"dist",
|
|
3400
|
-
"commands",
|
|
3401
|
-
"asa",
|
|
3402
|
-
"creatives",
|
|
3403
|
-
"list.js"
|
|
3404
|
-
]
|
|
3405
|
-
},
|
|
3406
3906
|
"asa:campaigns:bulk-create": {
|
|
3407
3907
|
"aliases": [],
|
|
3408
3908
|
"args": {},
|
|
@@ -4107,13 +4607,12 @@
|
|
|
4107
4607
|
"update.js"
|
|
4108
4608
|
]
|
|
4109
4609
|
},
|
|
4110
|
-
"asa:
|
|
4610
|
+
"asa:competitors:summary": {
|
|
4111
4611
|
"aliases": [],
|
|
4112
4612
|
"args": {},
|
|
4113
|
-
"description": "
|
|
4613
|
+
"description": "Competitor summary for up to five App Store apps; the server covers the last full month and every country",
|
|
4114
4614
|
"examples": [
|
|
4115
|
-
"<%= config.bin %> asa
|
|
4116
|
-
"<%= config.bin %> asa keywords add --ad-group UUID --from-file keywords.txt --match-type EXACT"
|
|
4615
|
+
"<%= config.bin %> asa competitors summary --app-ids 1668337467,6503873027"
|
|
4117
4616
|
],
|
|
4118
4617
|
"flags": {
|
|
4119
4618
|
"json": {
|
|
@@ -4123,77 +4622,74 @@
|
|
|
4123
4622
|
"allowNo": false,
|
|
4124
4623
|
"type": "boolean"
|
|
4125
4624
|
},
|
|
4126
|
-
"
|
|
4127
|
-
"description": "
|
|
4128
|
-
"name": "
|
|
4129
|
-
"
|
|
4625
|
+
"app-ids": {
|
|
4626
|
+
"description": "Apple App Store IDs (adam_id), comma-separated, 1-5 values",
|
|
4627
|
+
"name": "app-ids",
|
|
4628
|
+
"required": true,
|
|
4130
4629
|
"hasDynamicHelp": false,
|
|
4131
4630
|
"multiple": false,
|
|
4132
4631
|
"type": "option"
|
|
4133
|
-
}
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4632
|
+
}
|
|
4633
|
+
},
|
|
4634
|
+
"hasDynamicHelp": false,
|
|
4635
|
+
"hiddenAliases": [],
|
|
4636
|
+
"id": "asa:competitors:summary",
|
|
4637
|
+
"pluginAlias": "adapty",
|
|
4638
|
+
"pluginName": "adapty",
|
|
4639
|
+
"pluginType": "core",
|
|
4640
|
+
"strict": true,
|
|
4641
|
+
"enableJsonFlag": true,
|
|
4642
|
+
"isESM": true,
|
|
4643
|
+
"relativePath": [
|
|
4644
|
+
"dist",
|
|
4645
|
+
"commands",
|
|
4646
|
+
"asa",
|
|
4647
|
+
"competitors",
|
|
4648
|
+
"summary.js"
|
|
4649
|
+
]
|
|
4650
|
+
},
|
|
4651
|
+
"asa:creatives:list": {
|
|
4652
|
+
"aliases": [],
|
|
4653
|
+
"args": {},
|
|
4654
|
+
"description": "List creatives; creative_id is what `asa ads create` needs",
|
|
4655
|
+
"examples": [
|
|
4656
|
+
"<%= config.bin %> asa creatives list",
|
|
4657
|
+
"<%= config.bin %> asa creatives list --app APP_UUID"
|
|
4658
|
+
],
|
|
4659
|
+
"flags": {
|
|
4660
|
+
"json": {
|
|
4661
|
+
"description": "Format output as json.",
|
|
4662
|
+
"helpGroup": "GLOBAL",
|
|
4663
|
+
"name": "json",
|
|
4138
4664
|
"allowNo": false,
|
|
4139
4665
|
"type": "boolean"
|
|
4140
4666
|
},
|
|
4141
|
-
"
|
|
4142
|
-
"description": "
|
|
4143
|
-
"name": "
|
|
4667
|
+
"page": {
|
|
4668
|
+
"description": "Page number",
|
|
4669
|
+
"name": "page",
|
|
4670
|
+
"default": 1,
|
|
4144
4671
|
"hasDynamicHelp": false,
|
|
4145
4672
|
"multiple": false,
|
|
4146
4673
|
"type": "option"
|
|
4147
4674
|
},
|
|
4148
|
-
"
|
|
4149
|
-
"description": "
|
|
4150
|
-
"name": "
|
|
4151
|
-
"
|
|
4152
|
-
"hasDynamicHelp": false,
|
|
4153
|
-
"multiple": false,
|
|
4154
|
-
"type": "option"
|
|
4155
|
-
},
|
|
4156
|
-
"bid": {
|
|
4157
|
-
"description": "Bid per keyword (amount, e.g. 50 or 12.50)",
|
|
4158
|
-
"name": "bid",
|
|
4159
|
-
"hasDynamicHelp": false,
|
|
4160
|
-
"multiple": false,
|
|
4161
|
-
"type": "option"
|
|
4162
|
-
},
|
|
4163
|
-
"from-file": {
|
|
4164
|
-
"description": "File with one keyword per line, combined with any --text values",
|
|
4165
|
-
"name": "from-file",
|
|
4166
|
-
"hasDynamicHelp": false,
|
|
4167
|
-
"multiple": false,
|
|
4168
|
-
"type": "option"
|
|
4169
|
-
},
|
|
4170
|
-
"match-type": {
|
|
4171
|
-
"description": "Match type",
|
|
4172
|
-
"name": "match-type",
|
|
4173
|
-
"default": "BROAD",
|
|
4675
|
+
"page-size": {
|
|
4676
|
+
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
4677
|
+
"name": "page-size",
|
|
4678
|
+
"default": 100,
|
|
4174
4679
|
"hasDynamicHelp": false,
|
|
4175
4680
|
"multiple": false,
|
|
4176
|
-
"options": [
|
|
4177
|
-
"BROAD",
|
|
4178
|
-
"EXACT"
|
|
4179
|
-
],
|
|
4180
4681
|
"type": "option"
|
|
4181
4682
|
},
|
|
4182
|
-
"
|
|
4183
|
-
"description": "
|
|
4184
|
-
"name": "
|
|
4185
|
-
"default": "ACTIVE",
|
|
4683
|
+
"app": {
|
|
4684
|
+
"description": "Keep only rows in this app; repeatable",
|
|
4685
|
+
"name": "app",
|
|
4186
4686
|
"hasDynamicHelp": false,
|
|
4187
|
-
"multiple":
|
|
4188
|
-
"options": [
|
|
4189
|
-
"ACTIVE",
|
|
4190
|
-
"PAUSED"
|
|
4191
|
-
],
|
|
4687
|
+
"multiple": true,
|
|
4192
4688
|
"type": "option"
|
|
4193
4689
|
},
|
|
4194
|
-
"
|
|
4195
|
-
"description": "
|
|
4196
|
-
"name": "
|
|
4690
|
+
"campaign-group": {
|
|
4691
|
+
"description": "Keep only rows in this campaign group; repeatable",
|
|
4692
|
+
"name": "campaign-group",
|
|
4197
4693
|
"hasDynamicHelp": false,
|
|
4198
4694
|
"multiple": true,
|
|
4199
4695
|
"type": "option"
|
|
@@ -4201,7 +4697,7 @@
|
|
|
4201
4697
|
},
|
|
4202
4698
|
"hasDynamicHelp": false,
|
|
4203
4699
|
"hiddenAliases": [],
|
|
4204
|
-
"id": "asa:
|
|
4700
|
+
"id": "asa:creatives:list",
|
|
4205
4701
|
"pluginAlias": "adapty",
|
|
4206
4702
|
"pluginName": "adapty",
|
|
4207
4703
|
"pluginType": "core",
|
|
@@ -4212,17 +4708,21 @@
|
|
|
4212
4708
|
"dist",
|
|
4213
4709
|
"commands",
|
|
4214
4710
|
"asa",
|
|
4215
|
-
"
|
|
4216
|
-
"
|
|
4711
|
+
"creatives",
|
|
4712
|
+
"list.js"
|
|
4217
4713
|
]
|
|
4218
4714
|
},
|
|
4219
|
-
"asa:
|
|
4715
|
+
"asa:metrics": {
|
|
4220
4716
|
"aliases": [],
|
|
4221
4717
|
"args": {},
|
|
4222
|
-
"description": "
|
|
4718
|
+
"description": "Query metrics for any level of the account over a date range\n\nOne row per entity, already aggregated server-side and sorted by --order-by, so a top-N question is one\ncall with --order-by and --page-size N — never sum pages yourself. Account-level totals are one call to\nasa metrics overview instead. The date window is capped by the finest --group-by period: 28 days when\nday is grouped, 90 with no period grouping, 180 by week, 365 by month and coarser — widen the window by\ncoarsening the grouping, not by splitting into more calls. Each page is also capped at a breakdown-row\ncount (entities × countries × periods); over it the call fails with 422 cli_response_too_large naming the\npage[size] that fits — coarsen the grouping, narrow the window, or reduce page[size].\n\nMoney columns are in the campaign group currency, not USD, and spend and local_spend carry the same\nfigure; the currency itself comes from asa orgs list. Rate budgets and the breakdown-row cap are set per\ncompany: read the current ones with asa whoami rather than assuming a default. meta.pagination.count is\nthe full entity count behind the filters, so take inventory from there instead of counting the rows on a\npage. meta.max_valid_day says how many days the youngest cohort in the window has lived — any --by-days\nwindow above it repeats the last real figure because that time has not passed yet, so treat those as\nunreached rather than as a plateau.\n\n--metric is required and every metric named is computed over the whole entity set, so ask for the\ncolumns you actually read. subscribers and paid_subscribers (and arppu / arpas, which derive from them)\ncount unique profiles per entity and cost roughly seventeen times the rest; whatever the --entity, they\nare refused unless --campaign or --ad-group scopes the call. Those scope flags are also the cheapest way\nto make any call fast, since cost follows the number of entities aggregated, not the page size.",
|
|
4223
4719
|
"examples": [
|
|
4224
|
-
"<%= config.bin %> asa
|
|
4225
|
-
"<%= config.bin %> asa
|
|
4720
|
+
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --metric adapty_installs",
|
|
4721
|
+
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --order-by spend --page-size 5",
|
|
4722
|
+
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --group-by country --page-size 1000",
|
|
4723
|
+
"<%= config.bin %> asa metrics --entity keyword --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --metric roas",
|
|
4724
|
+
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric roas --by-days 7 --by-days 90",
|
|
4725
|
+
"<%= config.bin %> asa metrics --entity keyword --date-from 2026-07-01 --date-to 2026-07-31 --metric arpas --campaign 0f0e..."
|
|
4226
4726
|
],
|
|
4227
4727
|
"flags": {
|
|
4228
4728
|
"json": {
|
|
@@ -4248,6 +4748,20 @@
|
|
|
4248
4748
|
"multiple": false,
|
|
4249
4749
|
"type": "option"
|
|
4250
4750
|
},
|
|
4751
|
+
"by-days": {
|
|
4752
|
+
"description": "Renewal window in days for cohort metrics, repeatable; omit for the dashboard defaults",
|
|
4753
|
+
"name": "by-days",
|
|
4754
|
+
"hasDynamicHelp": false,
|
|
4755
|
+
"multiple": true,
|
|
4756
|
+
"type": "option"
|
|
4757
|
+
},
|
|
4758
|
+
"ad-group": {
|
|
4759
|
+
"description": "Keep only rows in this ad group; repeatable",
|
|
4760
|
+
"name": "ad-group",
|
|
4761
|
+
"hasDynamicHelp": false,
|
|
4762
|
+
"multiple": true,
|
|
4763
|
+
"type": "option"
|
|
4764
|
+
},
|
|
4251
4765
|
"app": {
|
|
4252
4766
|
"description": "Keep only rows in this app; repeatable",
|
|
4253
4767
|
"name": "app",
|
|
@@ -4255,49 +4769,96 @@
|
|
|
4255
4769
|
"multiple": true,
|
|
4256
4770
|
"type": "option"
|
|
4257
4771
|
},
|
|
4258
|
-
"campaign
|
|
4259
|
-
"description": "Keep only rows in this campaign
|
|
4260
|
-
"name": "campaign
|
|
4772
|
+
"campaign": {
|
|
4773
|
+
"description": "Keep only rows in this campaign; repeatable",
|
|
4774
|
+
"name": "campaign",
|
|
4261
4775
|
"hasDynamicHelp": false,
|
|
4262
4776
|
"multiple": true,
|
|
4263
4777
|
"type": "option"
|
|
4264
4778
|
},
|
|
4265
|
-
"
|
|
4266
|
-
"description": "
|
|
4267
|
-
"name": "
|
|
4779
|
+
"date-from": {
|
|
4780
|
+
"description": "Start of the period (YYYY-MM-DD)",
|
|
4781
|
+
"name": "date-from",
|
|
4782
|
+
"required": true,
|
|
4268
4783
|
"hasDynamicHelp": false,
|
|
4269
4784
|
"multiple": false,
|
|
4270
4785
|
"type": "option"
|
|
4271
4786
|
},
|
|
4272
|
-
"
|
|
4273
|
-
"description": "
|
|
4274
|
-
"name": "
|
|
4787
|
+
"date-to": {
|
|
4788
|
+
"description": "End of the period (YYYY-MM-DD)",
|
|
4789
|
+
"name": "date-to",
|
|
4790
|
+
"required": true,
|
|
4791
|
+
"hasDynamicHelp": false,
|
|
4792
|
+
"multiple": false,
|
|
4793
|
+
"type": "option"
|
|
4794
|
+
},
|
|
4795
|
+
"entity": {
|
|
4796
|
+
"description": "What to report on",
|
|
4797
|
+
"name": "entity",
|
|
4798
|
+
"required": true,
|
|
4799
|
+
"hasDynamicHelp": false,
|
|
4800
|
+
"multiple": false,
|
|
4801
|
+
"options": [
|
|
4802
|
+
"ad",
|
|
4803
|
+
"ad-group",
|
|
4804
|
+
"campaign",
|
|
4805
|
+
"keyword"
|
|
4806
|
+
],
|
|
4807
|
+
"type": "option"
|
|
4808
|
+
},
|
|
4809
|
+
"group-by": {
|
|
4810
|
+
"description": "Break the rows down by a dimension, repeatable",
|
|
4811
|
+
"name": "group-by",
|
|
4275
4812
|
"hasDynamicHelp": false,
|
|
4276
4813
|
"multiple": true,
|
|
4814
|
+
"options": [
|
|
4815
|
+
"country",
|
|
4816
|
+
"day",
|
|
4817
|
+
"month",
|
|
4818
|
+
"quarter",
|
|
4819
|
+
"week",
|
|
4820
|
+
"year"
|
|
4821
|
+
],
|
|
4277
4822
|
"type": "option"
|
|
4278
4823
|
},
|
|
4279
|
-
"
|
|
4280
|
-
"description": "
|
|
4281
|
-
"name": "
|
|
4824
|
+
"metric": {
|
|
4825
|
+
"description": "Metric name (dashboard nomenclature, e.g. spend, taps, gross_roas), repeatable and required; every metric asked for is computed over the whole entity set, so list only what you read; a wrong name fails listing all valid ones",
|
|
4826
|
+
"name": "metric",
|
|
4827
|
+
"required": true,
|
|
4282
4828
|
"hasDynamicHelp": false,
|
|
4283
4829
|
"multiple": true,
|
|
4284
4830
|
"type": "option"
|
|
4285
4831
|
},
|
|
4286
|
-
"
|
|
4287
|
-
"description": "
|
|
4288
|
-
"name": "
|
|
4832
|
+
"order": {
|
|
4833
|
+
"description": "Sort direction",
|
|
4834
|
+
"name": "order",
|
|
4835
|
+
"default": "desc",
|
|
4289
4836
|
"hasDynamicHelp": false,
|
|
4290
4837
|
"multiple": false,
|
|
4291
4838
|
"options": [
|
|
4292
|
-
"
|
|
4293
|
-
"
|
|
4839
|
+
"asc",
|
|
4840
|
+
"desc"
|
|
4294
4841
|
],
|
|
4295
4842
|
"type": "option"
|
|
4843
|
+
},
|
|
4844
|
+
"order-by": {
|
|
4845
|
+
"description": "Metric or field to sort by; cohort metrics rank via their gross_/proceeds_/net_ names",
|
|
4846
|
+
"name": "order-by",
|
|
4847
|
+
"hasDynamicHelp": false,
|
|
4848
|
+
"multiple": false,
|
|
4849
|
+
"type": "option"
|
|
4850
|
+
},
|
|
4851
|
+
"order-by-day": {
|
|
4852
|
+
"description": "Rank by a cohort metric at this renewal window; must be one of the --by-days values",
|
|
4853
|
+
"name": "order-by-day",
|
|
4854
|
+
"hasDynamicHelp": false,
|
|
4855
|
+
"multiple": false,
|
|
4856
|
+
"type": "option"
|
|
4296
4857
|
}
|
|
4297
4858
|
},
|
|
4298
4859
|
"hasDynamicHelp": false,
|
|
4299
4860
|
"hiddenAliases": [],
|
|
4300
|
-
"id": "asa:
|
|
4861
|
+
"id": "asa:metrics",
|
|
4301
4862
|
"pluginAlias": "adapty",
|
|
4302
4863
|
"pluginName": "adapty",
|
|
4303
4864
|
"pluginType": "core",
|
|
@@ -4308,18 +4869,17 @@
|
|
|
4308
4869
|
"dist",
|
|
4309
4870
|
"commands",
|
|
4310
4871
|
"asa",
|
|
4311
|
-
"
|
|
4312
|
-
"
|
|
4872
|
+
"metrics",
|
|
4873
|
+
"index.js"
|
|
4313
4874
|
]
|
|
4314
4875
|
},
|
|
4315
|
-
"asa:
|
|
4876
|
+
"asa:metrics:overview": {
|
|
4316
4877
|
"aliases": [],
|
|
4317
4878
|
"args": {},
|
|
4318
|
-
"description": "
|
|
4879
|
+
"description": "Totals for a period, optionally split into day, week or month buckets\n\nThe one-call answer to \"how much did I spend / earn overall\" and to any single-period trend question:\ntotals for the whole entity level plus a per-period series, no pagination, no client-side summing. The\ndate window is capped by --period-unit: 90 days at day, 180 by week, 365 by month and coarser. Shares\nthe 5-per-minute metrics budget with asa metrics.",
|
|
4319
4880
|
"examples": [
|
|
4320
|
-
"<%= config.bin %> asa
|
|
4321
|
-
"<%= config.bin %> asa
|
|
4322
|
-
"<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type competitor"
|
|
4881
|
+
"<%= config.bin %> asa metrics overview --entity campaign --date-from 2026-07-01 --date-to 2026-07-31",
|
|
4882
|
+
"<%= config.bin %> asa metrics overview --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --period-unit WEEK"
|
|
4323
4883
|
],
|
|
4324
4884
|
"flags": {
|
|
4325
4885
|
"json": {
|
|
@@ -4329,38 +4889,69 @@
|
|
|
4329
4889
|
"allowNo": false,
|
|
4330
4890
|
"type": "boolean"
|
|
4331
4891
|
},
|
|
4332
|
-
"
|
|
4333
|
-
"description": "
|
|
4334
|
-
"name": "
|
|
4892
|
+
"by-days": {
|
|
4893
|
+
"description": "Renewal window in days for cohort metrics, repeatable; omit for the dashboard defaults",
|
|
4894
|
+
"name": "by-days",
|
|
4895
|
+
"hasDynamicHelp": false,
|
|
4896
|
+
"multiple": true,
|
|
4897
|
+
"type": "option"
|
|
4898
|
+
},
|
|
4899
|
+
"date-from": {
|
|
4900
|
+
"description": "Start of the period (YYYY-MM-DD)",
|
|
4901
|
+
"name": "date-from",
|
|
4335
4902
|
"required": true,
|
|
4336
4903
|
"hasDynamicHelp": false,
|
|
4337
4904
|
"multiple": false,
|
|
4338
4905
|
"type": "option"
|
|
4339
4906
|
},
|
|
4340
|
-
"
|
|
4341
|
-
"description": "
|
|
4342
|
-
"name": "
|
|
4907
|
+
"date-to": {
|
|
4908
|
+
"description": "End of the period (YYYY-MM-DD)",
|
|
4909
|
+
"name": "date-to",
|
|
4910
|
+
"required": true,
|
|
4343
4911
|
"hasDynamicHelp": false,
|
|
4344
|
-
"multiple":
|
|
4912
|
+
"multiple": false,
|
|
4345
4913
|
"type": "option"
|
|
4346
4914
|
},
|
|
4347
|
-
"
|
|
4348
|
-
"description": "
|
|
4349
|
-
"name": "
|
|
4915
|
+
"entity": {
|
|
4916
|
+
"description": "What to report on",
|
|
4917
|
+
"name": "entity",
|
|
4350
4918
|
"required": true,
|
|
4351
4919
|
"hasDynamicHelp": false,
|
|
4352
4920
|
"multiple": false,
|
|
4353
4921
|
"options": [
|
|
4354
|
-
"
|
|
4355
|
-
"
|
|
4356
|
-
"
|
|
4922
|
+
"ad",
|
|
4923
|
+
"ad-group",
|
|
4924
|
+
"campaign",
|
|
4925
|
+
"keyword"
|
|
4926
|
+
],
|
|
4927
|
+
"type": "option"
|
|
4928
|
+
},
|
|
4929
|
+
"metric": {
|
|
4930
|
+
"description": "Metric name, repeatable; cohort roots only here (revenue, roas, arpu), not their gross_/proceeds_/net_ variants; omit for every metric",
|
|
4931
|
+
"name": "metric",
|
|
4932
|
+
"hasDynamicHelp": false,
|
|
4933
|
+
"multiple": true,
|
|
4934
|
+
"type": "option"
|
|
4935
|
+
},
|
|
4936
|
+
"period-unit": {
|
|
4937
|
+
"description": "Bucket size",
|
|
4938
|
+
"name": "period-unit",
|
|
4939
|
+
"default": "day",
|
|
4940
|
+
"hasDynamicHelp": false,
|
|
4941
|
+
"multiple": false,
|
|
4942
|
+
"options": [
|
|
4943
|
+
"day",
|
|
4944
|
+
"month",
|
|
4945
|
+
"quarter",
|
|
4946
|
+
"week",
|
|
4947
|
+
"year"
|
|
4357
4948
|
],
|
|
4358
4949
|
"type": "option"
|
|
4359
4950
|
}
|
|
4360
4951
|
},
|
|
4361
4952
|
"hasDynamicHelp": false,
|
|
4362
4953
|
"hiddenAliases": [],
|
|
4363
|
-
"id": "asa:
|
|
4954
|
+
"id": "asa:metrics:overview",
|
|
4364
4955
|
"pluginAlias": "adapty",
|
|
4365
4956
|
"pluginName": "adapty",
|
|
4366
4957
|
"pluginType": "core",
|
|
@@ -4371,23 +4962,17 @@
|
|
|
4371
4962
|
"dist",
|
|
4372
4963
|
"commands",
|
|
4373
4964
|
"asa",
|
|
4374
|
-
"
|
|
4375
|
-
"
|
|
4965
|
+
"metrics",
|
|
4966
|
+
"overview.js"
|
|
4376
4967
|
]
|
|
4377
4968
|
},
|
|
4378
|
-
"asa:keywords:
|
|
4969
|
+
"asa:keywords:add": {
|
|
4379
4970
|
"aliases": [],
|
|
4380
|
-
"args": {
|
|
4381
|
-
|
|
4382
|
-
"description": "Keyword ID (UUID), repeatable as extra arguments",
|
|
4383
|
-
"name": "keyword_id",
|
|
4384
|
-
"required": true
|
|
4385
|
-
}
|
|
4386
|
-
},
|
|
4387
|
-
"description": "Change bid, status, text or match type of keywords",
|
|
4971
|
+
"args": {},
|
|
4972
|
+
"description": "Add targeting keywords to an ad group",
|
|
4388
4973
|
"examples": [
|
|
4389
|
-
"<%= config.bin %> asa keywords
|
|
4390
|
-
"<%= config.bin %> asa keywords
|
|
4974
|
+
"<%= config.bin %> asa keywords add --ad-group UUID --text \"running shoes\" --text \"trail shoes\" --bid 1.20",
|
|
4975
|
+
"<%= config.bin %> asa keywords add --ad-group UUID --from-file keywords.txt --match-type EXACT"
|
|
4391
4976
|
],
|
|
4392
4977
|
"flags": {
|
|
4393
4978
|
"json": {
|
|
@@ -4419,16 +5004,32 @@
|
|
|
4419
5004
|
"multiple": false,
|
|
4420
5005
|
"type": "option"
|
|
4421
5006
|
},
|
|
5007
|
+
"ad-group": {
|
|
5008
|
+
"description": "Ad group ID (UUID) — the campaign is resolved from it",
|
|
5009
|
+
"name": "ad-group",
|
|
5010
|
+
"required": true,
|
|
5011
|
+
"hasDynamicHelp": false,
|
|
5012
|
+
"multiple": false,
|
|
5013
|
+
"type": "option"
|
|
5014
|
+
},
|
|
4422
5015
|
"bid": {
|
|
4423
|
-
"description": "Bid (amount, e.g. 50 or 12.50)",
|
|
5016
|
+
"description": "Bid per keyword (amount, e.g. 50 or 12.50)",
|
|
4424
5017
|
"name": "bid",
|
|
4425
5018
|
"hasDynamicHelp": false,
|
|
4426
5019
|
"multiple": false,
|
|
4427
5020
|
"type": "option"
|
|
4428
5021
|
},
|
|
5022
|
+
"from-file": {
|
|
5023
|
+
"description": "File with one keyword per line, combined with any --text values",
|
|
5024
|
+
"name": "from-file",
|
|
5025
|
+
"hasDynamicHelp": false,
|
|
5026
|
+
"multiple": false,
|
|
5027
|
+
"type": "option"
|
|
5028
|
+
},
|
|
4429
5029
|
"match-type": {
|
|
4430
5030
|
"description": "Match type",
|
|
4431
5031
|
"name": "match-type",
|
|
5032
|
+
"default": "BROAD",
|
|
4432
5033
|
"hasDynamicHelp": false,
|
|
4433
5034
|
"multiple": false,
|
|
4434
5035
|
"options": [
|
|
@@ -4440,6 +5041,7 @@
|
|
|
4440
5041
|
"status": {
|
|
4441
5042
|
"description": "Keyword status",
|
|
4442
5043
|
"name": "status",
|
|
5044
|
+
"default": "ACTIVE",
|
|
4443
5045
|
"hasDynamicHelp": false,
|
|
4444
5046
|
"multiple": false,
|
|
4445
5047
|
"options": [
|
|
@@ -4449,20 +5051,20 @@
|
|
|
4449
5051
|
"type": "option"
|
|
4450
5052
|
},
|
|
4451
5053
|
"text": {
|
|
4452
|
-
"description": "Keyword text
|
|
5054
|
+
"description": "Keyword text, repeatable",
|
|
4453
5055
|
"name": "text",
|
|
4454
5056
|
"hasDynamicHelp": false,
|
|
4455
|
-
"multiple":
|
|
5057
|
+
"multiple": true,
|
|
4456
5058
|
"type": "option"
|
|
4457
5059
|
}
|
|
4458
5060
|
},
|
|
4459
5061
|
"hasDynamicHelp": false,
|
|
4460
5062
|
"hiddenAliases": [],
|
|
4461
|
-
"id": "asa:keywords:
|
|
5063
|
+
"id": "asa:keywords:add",
|
|
4462
5064
|
"pluginAlias": "adapty",
|
|
4463
5065
|
"pluginName": "adapty",
|
|
4464
5066
|
"pluginType": "core",
|
|
4465
|
-
"strict":
|
|
5067
|
+
"strict": true,
|
|
4466
5068
|
"enableJsonFlag": true,
|
|
4467
5069
|
"isESM": true,
|
|
4468
5070
|
"relativePath": [
|
|
@@ -4470,20 +5072,16 @@
|
|
|
4470
5072
|
"commands",
|
|
4471
5073
|
"asa",
|
|
4472
5074
|
"keywords",
|
|
4473
|
-
"
|
|
5075
|
+
"add.js"
|
|
4474
5076
|
]
|
|
4475
5077
|
},
|
|
4476
|
-
"asa:
|
|
5078
|
+
"asa:keywords:list": {
|
|
4477
5079
|
"aliases": [],
|
|
4478
5080
|
"args": {},
|
|
4479
|
-
"description": "
|
|
5081
|
+
"description": "List targeting keywords; read numbers with asa metrics",
|
|
4480
5082
|
"examples": [
|
|
4481
|
-
"<%= config.bin %> asa
|
|
4482
|
-
"<%= config.bin %> asa
|
|
4483
|
-
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --group-by country --page-size 1000",
|
|
4484
|
-
"<%= config.bin %> asa metrics --entity keyword --date-from 2026-07-01 --date-to 2026-07-31 --metric spend --metric roas",
|
|
4485
|
-
"<%= config.bin %> asa metrics --entity campaign --date-from 2026-07-01 --date-to 2026-07-31 --metric roas --by-days 7 --by-days 90",
|
|
4486
|
-
"<%= config.bin %> asa metrics --entity keyword --date-from 2026-07-01 --date-to 2026-07-31 --metric arpas --campaign 0f0e..."
|
|
5083
|
+
"<%= config.bin %> asa keywords list",
|
|
5084
|
+
"<%= config.bin %> asa keywords list --ad-group AD_GROUP_UUID --status ACTIVE"
|
|
4487
5085
|
],
|
|
4488
5086
|
"flags": {
|
|
4489
5087
|
"json": {
|
|
@@ -4509,20 +5107,6 @@
|
|
|
4509
5107
|
"multiple": false,
|
|
4510
5108
|
"type": "option"
|
|
4511
5109
|
},
|
|
4512
|
-
"by-days": {
|
|
4513
|
-
"description": "Renewal window in days for cohort metrics, repeatable; omit for the dashboard defaults",
|
|
4514
|
-
"name": "by-days",
|
|
4515
|
-
"hasDynamicHelp": false,
|
|
4516
|
-
"multiple": true,
|
|
4517
|
-
"type": "option"
|
|
4518
|
-
},
|
|
4519
|
-
"ad-group": {
|
|
4520
|
-
"description": "Keep only rows in this ad group; repeatable",
|
|
4521
|
-
"name": "ad-group",
|
|
4522
|
-
"hasDynamicHelp": false,
|
|
4523
|
-
"multiple": true,
|
|
4524
|
-
"type": "option"
|
|
4525
|
-
},
|
|
4526
5110
|
"app": {
|
|
4527
5111
|
"description": "Keep only rows in this app; repeatable",
|
|
4528
5112
|
"name": "app",
|
|
@@ -4530,96 +5114,49 @@
|
|
|
4530
5114
|
"multiple": true,
|
|
4531
5115
|
"type": "option"
|
|
4532
5116
|
},
|
|
4533
|
-
"campaign": {
|
|
4534
|
-
"description": "Keep only rows in this campaign; repeatable",
|
|
4535
|
-
"name": "campaign",
|
|
5117
|
+
"campaign-group": {
|
|
5118
|
+
"description": "Keep only rows in this campaign group; repeatable",
|
|
5119
|
+
"name": "campaign-group",
|
|
4536
5120
|
"hasDynamicHelp": false,
|
|
4537
5121
|
"multiple": true,
|
|
4538
5122
|
"type": "option"
|
|
4539
5123
|
},
|
|
4540
|
-
"
|
|
4541
|
-
"description": "
|
|
4542
|
-
"name": "
|
|
4543
|
-
"required": true,
|
|
4544
|
-
"hasDynamicHelp": false,
|
|
4545
|
-
"multiple": false,
|
|
4546
|
-
"type": "option"
|
|
4547
|
-
},
|
|
4548
|
-
"date-to": {
|
|
4549
|
-
"description": "End of the period (YYYY-MM-DD)",
|
|
4550
|
-
"name": "date-to",
|
|
4551
|
-
"required": true,
|
|
4552
|
-
"hasDynamicHelp": false,
|
|
4553
|
-
"multiple": false,
|
|
4554
|
-
"type": "option"
|
|
4555
|
-
},
|
|
4556
|
-
"entity": {
|
|
4557
|
-
"description": "What to report on",
|
|
4558
|
-
"name": "entity",
|
|
4559
|
-
"required": true,
|
|
5124
|
+
"search": {
|
|
5125
|
+
"description": "Case-insensitive substring match on the name",
|
|
5126
|
+
"name": "search",
|
|
4560
5127
|
"hasDynamicHelp": false,
|
|
4561
5128
|
"multiple": false,
|
|
4562
|
-
"options": [
|
|
4563
|
-
"ad",
|
|
4564
|
-
"ad-group",
|
|
4565
|
-
"campaign",
|
|
4566
|
-
"keyword"
|
|
4567
|
-
],
|
|
4568
5129
|
"type": "option"
|
|
4569
5130
|
},
|
|
4570
|
-
"
|
|
4571
|
-
"description": "
|
|
4572
|
-
"name": "
|
|
5131
|
+
"campaign": {
|
|
5132
|
+
"description": "Keep only rows in this campaign; repeatable",
|
|
5133
|
+
"name": "campaign",
|
|
4573
5134
|
"hasDynamicHelp": false,
|
|
4574
5135
|
"multiple": true,
|
|
4575
|
-
"options": [
|
|
4576
|
-
"country",
|
|
4577
|
-
"day",
|
|
4578
|
-
"month",
|
|
4579
|
-
"quarter",
|
|
4580
|
-
"week",
|
|
4581
|
-
"year"
|
|
4582
|
-
],
|
|
4583
5136
|
"type": "option"
|
|
4584
5137
|
},
|
|
4585
|
-
"
|
|
4586
|
-
"description": "
|
|
4587
|
-
"name": "
|
|
4588
|
-
"required": true,
|
|
5138
|
+
"ad-group": {
|
|
5139
|
+
"description": "Keep only rows in this ad group; repeatable",
|
|
5140
|
+
"name": "ad-group",
|
|
4589
5141
|
"hasDynamicHelp": false,
|
|
4590
5142
|
"multiple": true,
|
|
4591
5143
|
"type": "option"
|
|
4592
5144
|
},
|
|
4593
|
-
"
|
|
4594
|
-
"description": "
|
|
4595
|
-
"name": "
|
|
4596
|
-
"default": "desc",
|
|
5145
|
+
"status": {
|
|
5146
|
+
"description": "Keep only rows in this state",
|
|
5147
|
+
"name": "status",
|
|
4597
5148
|
"hasDynamicHelp": false,
|
|
4598
5149
|
"multiple": false,
|
|
4599
5150
|
"options": [
|
|
4600
|
-
"
|
|
4601
|
-
"
|
|
5151
|
+
"ACTIVE",
|
|
5152
|
+
"PAUSED"
|
|
4602
5153
|
],
|
|
4603
5154
|
"type": "option"
|
|
4604
|
-
},
|
|
4605
|
-
"order-by": {
|
|
4606
|
-
"description": "Metric or field to sort by; cohort metrics rank via their gross_/proceeds_/net_ names",
|
|
4607
|
-
"name": "order-by",
|
|
4608
|
-
"hasDynamicHelp": false,
|
|
4609
|
-
"multiple": false,
|
|
4610
|
-
"type": "option"
|
|
4611
|
-
},
|
|
4612
|
-
"order-by-day": {
|
|
4613
|
-
"description": "Rank by a cohort metric at this renewal window; must be one of the --by-days values",
|
|
4614
|
-
"name": "order-by-day",
|
|
4615
|
-
"hasDynamicHelp": false,
|
|
4616
|
-
"multiple": false,
|
|
4617
|
-
"type": "option"
|
|
4618
5155
|
}
|
|
4619
5156
|
},
|
|
4620
5157
|
"hasDynamicHelp": false,
|
|
4621
5158
|
"hiddenAliases": [],
|
|
4622
|
-
"id": "asa:
|
|
5159
|
+
"id": "asa:keywords:list",
|
|
4623
5160
|
"pluginAlias": "adapty",
|
|
4624
5161
|
"pluginName": "adapty",
|
|
4625
5162
|
"pluginType": "core",
|
|
@@ -4630,17 +5167,18 @@
|
|
|
4630
5167
|
"dist",
|
|
4631
5168
|
"commands",
|
|
4632
5169
|
"asa",
|
|
4633
|
-
"
|
|
4634
|
-
"
|
|
5170
|
+
"keywords",
|
|
5171
|
+
"list.js"
|
|
4635
5172
|
]
|
|
4636
5173
|
},
|
|
4637
|
-
"asa:
|
|
5174
|
+
"asa:keywords:recommend": {
|
|
4638
5175
|
"aliases": [],
|
|
4639
5176
|
"args": {},
|
|
4640
|
-
"description": "
|
|
5177
|
+
"description": "Keyword recommendations for one of your apps: its brand terms, generic terms, or the brand terms of its selected competitors",
|
|
4641
5178
|
"examples": [
|
|
4642
|
-
"<%= config.bin %> asa
|
|
4643
|
-
"<%= config.bin %> asa
|
|
5179
|
+
"<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type brand",
|
|
5180
|
+
"<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type generic --country US",
|
|
5181
|
+
"<%= config.bin %> asa keywords recommend --adam-id 1668337467 --type competitor"
|
|
4644
5182
|
],
|
|
4645
5183
|
"flags": {
|
|
4646
5184
|
"json": {
|
|
@@ -4650,69 +5188,38 @@
|
|
|
4650
5188
|
"allowNo": false,
|
|
4651
5189
|
"type": "boolean"
|
|
4652
5190
|
},
|
|
4653
|
-
"
|
|
4654
|
-
"description": "
|
|
4655
|
-
"name": "
|
|
4656
|
-
"hasDynamicHelp": false,
|
|
4657
|
-
"multiple": true,
|
|
4658
|
-
"type": "option"
|
|
4659
|
-
},
|
|
4660
|
-
"date-from": {
|
|
4661
|
-
"description": "Start of the period (YYYY-MM-DD)",
|
|
4662
|
-
"name": "date-from",
|
|
4663
|
-
"required": true,
|
|
4664
|
-
"hasDynamicHelp": false,
|
|
4665
|
-
"multiple": false,
|
|
4666
|
-
"type": "option"
|
|
4667
|
-
},
|
|
4668
|
-
"date-to": {
|
|
4669
|
-
"description": "End of the period (YYYY-MM-DD)",
|
|
4670
|
-
"name": "date-to",
|
|
4671
|
-
"required": true,
|
|
4672
|
-
"hasDynamicHelp": false,
|
|
4673
|
-
"multiple": false,
|
|
4674
|
-
"type": "option"
|
|
4675
|
-
},
|
|
4676
|
-
"entity": {
|
|
4677
|
-
"description": "What to report on",
|
|
4678
|
-
"name": "entity",
|
|
5191
|
+
"adam-id": {
|
|
5192
|
+
"description": "Apple App Store ID (adam_id) of your app, from `asa apps list`",
|
|
5193
|
+
"name": "adam-id",
|
|
4679
5194
|
"required": true,
|
|
4680
5195
|
"hasDynamicHelp": false,
|
|
4681
5196
|
"multiple": false,
|
|
4682
|
-
"options": [
|
|
4683
|
-
"ad",
|
|
4684
|
-
"ad-group",
|
|
4685
|
-
"campaign",
|
|
4686
|
-
"keyword"
|
|
4687
|
-
],
|
|
4688
5197
|
"type": "option"
|
|
4689
5198
|
},
|
|
4690
|
-
"
|
|
4691
|
-
"description": "
|
|
4692
|
-
"name": "
|
|
5199
|
+
"country": {
|
|
5200
|
+
"description": "ISO country code (e.g. US); repeatable, default every country in the pool",
|
|
5201
|
+
"name": "country",
|
|
4693
5202
|
"hasDynamicHelp": false,
|
|
4694
5203
|
"multiple": true,
|
|
4695
5204
|
"type": "option"
|
|
4696
5205
|
},
|
|
4697
|
-
"
|
|
4698
|
-
"description": "
|
|
4699
|
-
"name": "
|
|
4700
|
-
"
|
|
5206
|
+
"type": {
|
|
5207
|
+
"description": "Which pool to read",
|
|
5208
|
+
"name": "type",
|
|
5209
|
+
"required": true,
|
|
4701
5210
|
"hasDynamicHelp": false,
|
|
4702
5211
|
"multiple": false,
|
|
4703
5212
|
"options": [
|
|
4704
|
-
"
|
|
4705
|
-
"
|
|
4706
|
-
"
|
|
4707
|
-
"week",
|
|
4708
|
-
"year"
|
|
5213
|
+
"brand",
|
|
5214
|
+
"generic",
|
|
5215
|
+
"competitor"
|
|
4709
5216
|
],
|
|
4710
5217
|
"type": "option"
|
|
4711
5218
|
}
|
|
4712
5219
|
},
|
|
4713
5220
|
"hasDynamicHelp": false,
|
|
4714
5221
|
"hiddenAliases": [],
|
|
4715
|
-
"id": "asa:
|
|
5222
|
+
"id": "asa:keywords:recommend",
|
|
4716
5223
|
"pluginAlias": "adapty",
|
|
4717
5224
|
"pluginName": "adapty",
|
|
4718
5225
|
"pluginType": "core",
|
|
@@ -4723,18 +5230,23 @@
|
|
|
4723
5230
|
"dist",
|
|
4724
5231
|
"commands",
|
|
4725
5232
|
"asa",
|
|
4726
|
-
"
|
|
4727
|
-
"
|
|
5233
|
+
"keywords",
|
|
5234
|
+
"recommend.js"
|
|
4728
5235
|
]
|
|
4729
5236
|
},
|
|
4730
|
-
"asa:
|
|
5237
|
+
"asa:keywords:update": {
|
|
4731
5238
|
"aliases": [],
|
|
4732
|
-
"args": {
|
|
4733
|
-
|
|
5239
|
+
"args": {
|
|
5240
|
+
"keyword_id": {
|
|
5241
|
+
"description": "Keyword ID (UUID), repeatable as extra arguments",
|
|
5242
|
+
"name": "keyword_id",
|
|
5243
|
+
"required": true
|
|
5244
|
+
}
|
|
5245
|
+
},
|
|
5246
|
+
"description": "Change bid, status, text or match type of keywords",
|
|
4734
5247
|
"examples": [
|
|
4735
|
-
"<%= config.bin %> asa
|
|
4736
|
-
"<%= config.bin %> asa
|
|
4737
|
-
"<%= config.bin %> asa negative-keywords add --campaign UUID --all-ad-groups --text \"free\""
|
|
5248
|
+
"<%= config.bin %> asa keywords update UUID --bid 2.00",
|
|
5249
|
+
"<%= config.bin %> asa keywords update UUID_A UUID_B --status PAUSED"
|
|
4738
5250
|
],
|
|
4739
5251
|
"flags": {
|
|
4740
5252
|
"json": {
|
|
@@ -4744,6 +5256,14 @@
|
|
|
4744
5256
|
"allowNo": false,
|
|
4745
5257
|
"type": "boolean"
|
|
4746
5258
|
},
|
|
5259
|
+
"currency": {
|
|
5260
|
+
"description": "Currency code for the amounts in this call",
|
|
5261
|
+
"name": "currency",
|
|
5262
|
+
"default": "USD",
|
|
5263
|
+
"hasDynamicHelp": false,
|
|
5264
|
+
"multiple": false,
|
|
5265
|
+
"type": "option"
|
|
5266
|
+
},
|
|
4747
5267
|
"yes": {
|
|
4748
5268
|
"char": "y",
|
|
4749
5269
|
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
@@ -4758,71 +5278,95 @@
|
|
|
4758
5278
|
"multiple": false,
|
|
4759
5279
|
"type": "option"
|
|
4760
5280
|
},
|
|
4761
|
-
"
|
|
4762
|
-
"description": "
|
|
4763
|
-
"
|
|
4764
|
-
"campaign"
|
|
4765
|
-
],
|
|
4766
|
-
"name": "ad-group",
|
|
5281
|
+
"bid": {
|
|
5282
|
+
"description": "Bid (amount, e.g. 50 or 12.50)",
|
|
5283
|
+
"name": "bid",
|
|
4767
5284
|
"hasDynamicHelp": false,
|
|
4768
5285
|
"multiple": false,
|
|
4769
5286
|
"type": "option"
|
|
4770
5287
|
},
|
|
4771
|
-
"
|
|
4772
|
-
"
|
|
4773
|
-
|
|
5288
|
+
"match-type": {
|
|
5289
|
+
"description": "Match type",
|
|
5290
|
+
"name": "match-type",
|
|
5291
|
+
"hasDynamicHelp": false,
|
|
5292
|
+
"multiple": false,
|
|
5293
|
+
"options": [
|
|
5294
|
+
"BROAD",
|
|
5295
|
+
"EXACT"
|
|
4774
5296
|
],
|
|
4775
|
-
"
|
|
4776
|
-
"name": "all-ad-groups",
|
|
4777
|
-
"allowNo": false,
|
|
4778
|
-
"type": "boolean"
|
|
5297
|
+
"type": "option"
|
|
4779
5298
|
},
|
|
4780
|
-
"
|
|
4781
|
-
"description": "
|
|
4782
|
-
"
|
|
4783
|
-
|
|
5299
|
+
"status": {
|
|
5300
|
+
"description": "Keyword status",
|
|
5301
|
+
"name": "status",
|
|
5302
|
+
"hasDynamicHelp": false,
|
|
5303
|
+
"multiple": false,
|
|
5304
|
+
"options": [
|
|
5305
|
+
"ACTIVE",
|
|
5306
|
+
"PAUSED"
|
|
4784
5307
|
],
|
|
4785
|
-
"
|
|
5308
|
+
"type": "option"
|
|
5309
|
+
},
|
|
5310
|
+
"text": {
|
|
5311
|
+
"description": "Keyword text (only meaningful for a single keyword)",
|
|
5312
|
+
"name": "text",
|
|
4786
5313
|
"hasDynamicHelp": false,
|
|
4787
5314
|
"multiple": false,
|
|
4788
5315
|
"type": "option"
|
|
5316
|
+
}
|
|
5317
|
+
},
|
|
5318
|
+
"hasDynamicHelp": false,
|
|
5319
|
+
"hiddenAliases": [],
|
|
5320
|
+
"id": "asa:keywords:update",
|
|
5321
|
+
"pluginAlias": "adapty",
|
|
5322
|
+
"pluginName": "adapty",
|
|
5323
|
+
"pluginType": "core",
|
|
5324
|
+
"strict": false,
|
|
5325
|
+
"enableJsonFlag": true,
|
|
5326
|
+
"isESM": true,
|
|
5327
|
+
"relativePath": [
|
|
5328
|
+
"dist",
|
|
5329
|
+
"commands",
|
|
5330
|
+
"asa",
|
|
5331
|
+
"keywords",
|
|
5332
|
+
"update.js"
|
|
5333
|
+
]
|
|
5334
|
+
},
|
|
5335
|
+
"asa:orgs:list": {
|
|
5336
|
+
"aliases": [],
|
|
5337
|
+
"args": {},
|
|
5338
|
+
"description": "List the Apple Search Ads organizations this company can spend from",
|
|
5339
|
+
"examples": [
|
|
5340
|
+
"<%= config.bin %> asa orgs list"
|
|
5341
|
+
],
|
|
5342
|
+
"flags": {
|
|
5343
|
+
"json": {
|
|
5344
|
+
"description": "Format output as json.",
|
|
5345
|
+
"helpGroup": "GLOBAL",
|
|
5346
|
+
"name": "json",
|
|
5347
|
+
"allowNo": false,
|
|
5348
|
+
"type": "boolean"
|
|
4789
5349
|
},
|
|
4790
|
-
"
|
|
4791
|
-
"description": "
|
|
4792
|
-
"name": "
|
|
4793
|
-
"default":
|
|
5350
|
+
"page": {
|
|
5351
|
+
"description": "Page number",
|
|
5352
|
+
"name": "page",
|
|
5353
|
+
"default": 1,
|
|
4794
5354
|
"hasDynamicHelp": false,
|
|
4795
5355
|
"multiple": false,
|
|
4796
|
-
"options": [
|
|
4797
|
-
"BROAD",
|
|
4798
|
-
"EXACT"
|
|
4799
|
-
],
|
|
4800
5356
|
"type": "option"
|
|
4801
5357
|
},
|
|
4802
|
-
"
|
|
4803
|
-
"description": "
|
|
4804
|
-
"name": "
|
|
4805
|
-
"default":
|
|
5358
|
+
"page-size": {
|
|
5359
|
+
"description": "Items per page (max 1000); prefer one big page over a pagination loop",
|
|
5360
|
+
"name": "page-size",
|
|
5361
|
+
"default": 100,
|
|
4806
5362
|
"hasDynamicHelp": false,
|
|
4807
5363
|
"multiple": false,
|
|
4808
|
-
"options": [
|
|
4809
|
-
"ACTIVE",
|
|
4810
|
-
"PAUSED"
|
|
4811
|
-
],
|
|
4812
|
-
"type": "option"
|
|
4813
|
-
},
|
|
4814
|
-
"text": {
|
|
4815
|
-
"description": "Keyword text, repeatable",
|
|
4816
|
-
"name": "text",
|
|
4817
|
-
"required": true,
|
|
4818
|
-
"hasDynamicHelp": false,
|
|
4819
|
-
"multiple": true,
|
|
4820
5364
|
"type": "option"
|
|
4821
5365
|
}
|
|
4822
5366
|
},
|
|
4823
5367
|
"hasDynamicHelp": false,
|
|
4824
5368
|
"hiddenAliases": [],
|
|
4825
|
-
"id": "asa:
|
|
5369
|
+
"id": "asa:orgs:list",
|
|
4826
5370
|
"pluginAlias": "adapty",
|
|
4827
5371
|
"pluginName": "adapty",
|
|
4828
5372
|
"pluginType": "core",
|
|
@@ -4833,17 +5377,17 @@
|
|
|
4833
5377
|
"dist",
|
|
4834
5378
|
"commands",
|
|
4835
5379
|
"asa",
|
|
4836
|
-
"
|
|
4837
|
-
"
|
|
5380
|
+
"orgs",
|
|
5381
|
+
"list.js"
|
|
4838
5382
|
]
|
|
4839
5383
|
},
|
|
4840
|
-
"asa:
|
|
5384
|
+
"asa:search-terms:list": {
|
|
4841
5385
|
"aliases": [],
|
|
4842
5386
|
"args": {},
|
|
4843
|
-
"description": "List
|
|
5387
|
+
"description": "List the search terms your ads matched, with their metrics",
|
|
4844
5388
|
"examples": [
|
|
4845
|
-
"<%= config.bin %> asa
|
|
4846
|
-
"<%= config.bin %> asa
|
|
5389
|
+
"<%= config.bin %> asa search-terms list --date-from 2026-07-01 --date-to 2026-07-31",
|
|
5390
|
+
"<%= config.bin %> asa search-terms list --ad-group AD_GROUP_UUID"
|
|
4847
5391
|
],
|
|
4848
5392
|
"flags": {
|
|
4849
5393
|
"json": {
|
|
@@ -4869,6 +5413,20 @@
|
|
|
4869
5413
|
"multiple": false,
|
|
4870
5414
|
"type": "option"
|
|
4871
5415
|
},
|
|
5416
|
+
"date-from": {
|
|
5417
|
+
"description": "Start of the reporting period (YYYY-MM-DD), defaults to today",
|
|
5418
|
+
"name": "date-from",
|
|
5419
|
+
"hasDynamicHelp": false,
|
|
5420
|
+
"multiple": false,
|
|
5421
|
+
"type": "option"
|
|
5422
|
+
},
|
|
5423
|
+
"date-to": {
|
|
5424
|
+
"description": "End of the reporting period (YYYY-MM-DD), defaults to today",
|
|
5425
|
+
"name": "date-to",
|
|
5426
|
+
"hasDynamicHelp": false,
|
|
5427
|
+
"multiple": false,
|
|
5428
|
+
"type": "option"
|
|
5429
|
+
},
|
|
4872
5430
|
"app": {
|
|
4873
5431
|
"description": "Keep only rows in this app; repeatable",
|
|
4874
5432
|
"name": "app",
|
|
@@ -4903,17 +5461,11 @@
|
|
|
4903
5461
|
"hasDynamicHelp": false,
|
|
4904
5462
|
"multiple": true,
|
|
4905
5463
|
"type": "option"
|
|
4906
|
-
},
|
|
4907
|
-
"campaign-level-only": {
|
|
4908
|
-
"description": "Keep only campaign-level rows (ad_group_id is null)",
|
|
4909
|
-
"name": "campaign-level-only",
|
|
4910
|
-
"allowNo": false,
|
|
4911
|
-
"type": "boolean"
|
|
4912
5464
|
}
|
|
4913
5465
|
},
|
|
4914
5466
|
"hasDynamicHelp": false,
|
|
4915
5467
|
"hiddenAliases": [],
|
|
4916
|
-
"id": "asa:
|
|
5468
|
+
"id": "asa:search-terms:list",
|
|
4917
5469
|
"pluginAlias": "adapty",
|
|
4918
5470
|
"pluginName": "adapty",
|
|
4919
5471
|
"pluginType": "core",
|
|
@@ -4924,16 +5476,17 @@
|
|
|
4924
5476
|
"dist",
|
|
4925
5477
|
"commands",
|
|
4926
5478
|
"asa",
|
|
4927
|
-
"
|
|
5479
|
+
"search-terms",
|
|
4928
5480
|
"list.js"
|
|
4929
5481
|
]
|
|
4930
5482
|
},
|
|
4931
|
-
"asa:
|
|
5483
|
+
"asa:product-pages:list": {
|
|
4932
5484
|
"aliases": [],
|
|
4933
5485
|
"args": {},
|
|
4934
|
-
"description": "List
|
|
5486
|
+
"description": "List custom product pages (read-only; authoring stays in App Store Connect)",
|
|
4935
5487
|
"examples": [
|
|
4936
|
-
"<%= config.bin %> asa
|
|
5488
|
+
"<%= config.bin %> asa product-pages list",
|
|
5489
|
+
"<%= config.bin %> asa product-pages list --app APP_UUID"
|
|
4937
5490
|
],
|
|
4938
5491
|
"flags": {
|
|
4939
5492
|
"json": {
|
|
@@ -4958,11 +5511,25 @@
|
|
|
4958
5511
|
"hasDynamicHelp": false,
|
|
4959
5512
|
"multiple": false,
|
|
4960
5513
|
"type": "option"
|
|
5514
|
+
},
|
|
5515
|
+
"app": {
|
|
5516
|
+
"description": "Keep only rows in this app; repeatable",
|
|
5517
|
+
"name": "app",
|
|
5518
|
+
"hasDynamicHelp": false,
|
|
5519
|
+
"multiple": true,
|
|
5520
|
+
"type": "option"
|
|
5521
|
+
},
|
|
5522
|
+
"campaign-group": {
|
|
5523
|
+
"description": "Keep only rows in this campaign group; repeatable",
|
|
5524
|
+
"name": "campaign-group",
|
|
5525
|
+
"hasDynamicHelp": false,
|
|
5526
|
+
"multiple": true,
|
|
5527
|
+
"type": "option"
|
|
4961
5528
|
}
|
|
4962
5529
|
},
|
|
4963
5530
|
"hasDynamicHelp": false,
|
|
4964
5531
|
"hiddenAliases": [],
|
|
4965
|
-
"id": "asa:
|
|
5532
|
+
"id": "asa:product-pages:list",
|
|
4966
5533
|
"pluginAlias": "adapty",
|
|
4967
5534
|
"pluginName": "adapty",
|
|
4968
5535
|
"pluginType": "core",
|
|
@@ -4973,17 +5540,17 @@
|
|
|
4973
5540
|
"dist",
|
|
4974
5541
|
"commands",
|
|
4975
5542
|
"asa",
|
|
4976
|
-
"
|
|
5543
|
+
"product-pages",
|
|
4977
5544
|
"list.js"
|
|
4978
5545
|
]
|
|
4979
5546
|
},
|
|
4980
|
-
"asa:product-pages:
|
|
5547
|
+
"asa:product-pages:sync": {
|
|
4981
5548
|
"aliases": [],
|
|
4982
5549
|
"args": {},
|
|
4983
|
-
"description": "
|
|
5550
|
+
"description": "Refresh custom product pages from Apple",
|
|
4984
5551
|
"examples": [
|
|
4985
|
-
"<%= config.bin %> asa product-pages
|
|
4986
|
-
"<%= config.bin %> asa product-pages
|
|
5552
|
+
"<%= config.bin %> asa product-pages sync",
|
|
5553
|
+
"<%= config.bin %> asa product-pages sync --adam-id 123456"
|
|
4987
5554
|
],
|
|
4988
5555
|
"flags": {
|
|
4989
5556
|
"json": {
|
|
@@ -4993,40 +5560,31 @@
|
|
|
4993
5560
|
"allowNo": false,
|
|
4994
5561
|
"type": "boolean"
|
|
4995
5562
|
},
|
|
4996
|
-
"
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
4999
|
-
"
|
|
5000
|
-
"
|
|
5001
|
-
"
|
|
5002
|
-
"type": "option"
|
|
5563
|
+
"yes": {
|
|
5564
|
+
"char": "y",
|
|
5565
|
+
"description": "Apply without asking; required when the output is piped or --json is used",
|
|
5566
|
+
"name": "yes",
|
|
5567
|
+
"allowNo": false,
|
|
5568
|
+
"type": "boolean"
|
|
5003
5569
|
},
|
|
5004
|
-
"
|
|
5005
|
-
"description": "
|
|
5006
|
-
"name": "
|
|
5007
|
-
"default": 100,
|
|
5570
|
+
"idempotency-key": {
|
|
5571
|
+
"description": "Idempotency key for this write; re-running with the same key replays the stored result instead of applying twice",
|
|
5572
|
+
"name": "idempotency-key",
|
|
5008
5573
|
"hasDynamicHelp": false,
|
|
5009
5574
|
"multiple": false,
|
|
5010
5575
|
"type": "option"
|
|
5011
5576
|
},
|
|
5012
|
-
"
|
|
5013
|
-
"description": "
|
|
5014
|
-
"name": "
|
|
5015
|
-
"hasDynamicHelp": false,
|
|
5016
|
-
"multiple": true,
|
|
5017
|
-
"type": "option"
|
|
5018
|
-
},
|
|
5019
|
-
"campaign-group": {
|
|
5020
|
-
"description": "Keep only rows in this campaign group; repeatable",
|
|
5021
|
-
"name": "campaign-group",
|
|
5577
|
+
"adam-id": {
|
|
5578
|
+
"description": "Limit the refresh to one app; omit to cover every app",
|
|
5579
|
+
"name": "adam-id",
|
|
5022
5580
|
"hasDynamicHelp": false,
|
|
5023
|
-
"multiple":
|
|
5581
|
+
"multiple": false,
|
|
5024
5582
|
"type": "option"
|
|
5025
5583
|
}
|
|
5026
5584
|
},
|
|
5027
5585
|
"hasDynamicHelp": false,
|
|
5028
5586
|
"hiddenAliases": [],
|
|
5029
|
-
"id": "asa:product-pages:
|
|
5587
|
+
"id": "asa:product-pages:sync",
|
|
5030
5588
|
"pluginAlias": "adapty",
|
|
5031
5589
|
"pluginName": "adapty",
|
|
5032
5590
|
"pluginType": "core",
|
|
@@ -5038,16 +5596,17 @@
|
|
|
5038
5596
|
"commands",
|
|
5039
5597
|
"asa",
|
|
5040
5598
|
"product-pages",
|
|
5041
|
-
"
|
|
5599
|
+
"sync.js"
|
|
5042
5600
|
]
|
|
5043
5601
|
},
|
|
5044
|
-
"asa:
|
|
5602
|
+
"asa:negative-keywords:add": {
|
|
5045
5603
|
"aliases": [],
|
|
5046
5604
|
"args": {},
|
|
5047
|
-
"description": "
|
|
5605
|
+
"description": "Add negative keywords to an ad group or across a campaign",
|
|
5048
5606
|
"examples": [
|
|
5049
|
-
"<%= config.bin %> asa
|
|
5050
|
-
"<%= config.bin %> asa
|
|
5607
|
+
"<%= config.bin %> asa negative-keywords add --ad-group UUID --text \"free\"",
|
|
5608
|
+
"<%= config.bin %> asa negative-keywords add --campaign UUID --text \"free\" --text \"cheap\"",
|
|
5609
|
+
"<%= config.bin %> asa negative-keywords add --campaign UUID --all-ad-groups --text \"free\""
|
|
5051
5610
|
],
|
|
5052
5611
|
"flags": {
|
|
5053
5612
|
"json": {
|
|
@@ -5071,17 +5630,71 @@
|
|
|
5071
5630
|
"multiple": false,
|
|
5072
5631
|
"type": "option"
|
|
5073
5632
|
},
|
|
5074
|
-
"
|
|
5075
|
-
"description": "
|
|
5076
|
-
"
|
|
5633
|
+
"ad-group": {
|
|
5634
|
+
"description": "Ad group ID (UUID) — the campaign is resolved from it",
|
|
5635
|
+
"exclusive": [
|
|
5636
|
+
"campaign"
|
|
5637
|
+
],
|
|
5638
|
+
"name": "ad-group",
|
|
5639
|
+
"hasDynamicHelp": false,
|
|
5640
|
+
"multiple": false,
|
|
5641
|
+
"type": "option"
|
|
5642
|
+
},
|
|
5643
|
+
"all-ad-groups": {
|
|
5644
|
+
"dependsOn": [
|
|
5645
|
+
"campaign"
|
|
5646
|
+
],
|
|
5647
|
+
"description": "Apply to every ad group of the campaign instead of the campaign itself",
|
|
5648
|
+
"name": "all-ad-groups",
|
|
5649
|
+
"allowNo": false,
|
|
5650
|
+
"type": "boolean"
|
|
5651
|
+
},
|
|
5652
|
+
"campaign": {
|
|
5653
|
+
"description": "Campaign ID (UUID)",
|
|
5654
|
+
"exclusive": [
|
|
5655
|
+
"ad-group"
|
|
5656
|
+
],
|
|
5657
|
+
"name": "campaign",
|
|
5658
|
+
"hasDynamicHelp": false,
|
|
5659
|
+
"multiple": false,
|
|
5660
|
+
"type": "option"
|
|
5661
|
+
},
|
|
5662
|
+
"match-type": {
|
|
5663
|
+
"description": "Match type",
|
|
5664
|
+
"name": "match-type",
|
|
5665
|
+
"default": "EXACT",
|
|
5666
|
+
"hasDynamicHelp": false,
|
|
5667
|
+
"multiple": false,
|
|
5668
|
+
"options": [
|
|
5669
|
+
"BROAD",
|
|
5670
|
+
"EXACT"
|
|
5671
|
+
],
|
|
5672
|
+
"type": "option"
|
|
5673
|
+
},
|
|
5674
|
+
"status": {
|
|
5675
|
+
"description": "Keyword status",
|
|
5676
|
+
"name": "status",
|
|
5677
|
+
"default": "ACTIVE",
|
|
5077
5678
|
"hasDynamicHelp": false,
|
|
5078
5679
|
"multiple": false,
|
|
5680
|
+
"options": [
|
|
5681
|
+
"ACTIVE",
|
|
5682
|
+
"PAUSED"
|
|
5683
|
+
],
|
|
5684
|
+
"type": "option"
|
|
5685
|
+
},
|
|
5686
|
+
"text": {
|
|
5687
|
+
"description": "Keyword text, repeatable",
|
|
5688
|
+
"name": "text",
|
|
5689
|
+
"required": true,
|
|
5690
|
+
"hasDynamicHelp": false,
|
|
5691
|
+
"multiple": true,
|
|
5079
5692
|
"type": "option"
|
|
5080
5693
|
}
|
|
5081
5694
|
},
|
|
5082
5695
|
"hasDynamicHelp": false,
|
|
5083
5696
|
"hiddenAliases": [],
|
|
5084
|
-
"id": "asa:
|
|
5697
|
+
"id": "asa:negative-keywords:add",
|
|
5085
5698
|
"pluginAlias": "adapty",
|
|
5086
5699
|
"pluginName": "adapty",
|
|
5087
5700
|
"pluginType": "core",
|
|
@@ -5092,17 +5705,17 @@
|
|
|
5092
5705
|
"dist",
|
|
5093
5706
|
"commands",
|
|
5094
5707
|
"asa",
|
|
5095
|
-
"
|
|
5096
|
-
"
|
|
5708
|
+
"negative-keywords",
|
|
5709
|
+
"add.js"
|
|
5097
5710
|
]
|
|
5098
5711
|
},
|
|
5099
|
-
"asa:
|
|
5712
|
+
"asa:negative-keywords:list": {
|
|
5100
5713
|
"aliases": [],
|
|
5101
5714
|
"args": {},
|
|
5102
|
-
"description": "List
|
|
5715
|
+
"description": "List negative keywords; ad_group_id is empty for campaign-level ones",
|
|
5103
5716
|
"examples": [
|
|
5104
|
-
"<%= config.bin %> asa
|
|
5105
|
-
"<%= config.bin %> asa
|
|
5717
|
+
"<%= config.bin %> asa negative-keywords list",
|
|
5718
|
+
"<%= config.bin %> asa negative-keywords list --campaign CAMPAIGN_UUID"
|
|
5106
5719
|
],
|
|
5107
5720
|
"flags": {
|
|
5108
5721
|
"json": {
|
|
@@ -5128,20 +5741,6 @@
|
|
|
5128
5741
|
"multiple": false,
|
|
5129
5742
|
"type": "option"
|
|
5130
5743
|
},
|
|
5131
|
-
"date-from": {
|
|
5132
|
-
"description": "Start of the reporting period (YYYY-MM-DD), defaults to today",
|
|
5133
|
-
"name": "date-from",
|
|
5134
|
-
"hasDynamicHelp": false,
|
|
5135
|
-
"multiple": false,
|
|
5136
|
-
"type": "option"
|
|
5137
|
-
},
|
|
5138
|
-
"date-to": {
|
|
5139
|
-
"description": "End of the reporting period (YYYY-MM-DD), defaults to today",
|
|
5140
|
-
"name": "date-to",
|
|
5141
|
-
"hasDynamicHelp": false,
|
|
5142
|
-
"multiple": false,
|
|
5143
|
-
"type": "option"
|
|
5144
|
-
},
|
|
5145
5744
|
"app": {
|
|
5146
5745
|
"description": "Keep only rows in this app; repeatable",
|
|
5147
5746
|
"name": "app",
|
|
@@ -5176,11 +5775,17 @@
|
|
|
5176
5775
|
"hasDynamicHelp": false,
|
|
5177
5776
|
"multiple": true,
|
|
5178
5777
|
"type": "option"
|
|
5778
|
+
},
|
|
5779
|
+
"campaign-level-only": {
|
|
5780
|
+
"description": "Keep only campaign-level rows (ad_group_id is null)",
|
|
5781
|
+
"name": "campaign-level-only",
|
|
5782
|
+
"allowNo": false,
|
|
5783
|
+
"type": "boolean"
|
|
5179
5784
|
}
|
|
5180
5785
|
},
|
|
5181
5786
|
"hasDynamicHelp": false,
|
|
5182
5787
|
"hiddenAliases": [],
|
|
5183
|
-
"id": "asa:
|
|
5788
|
+
"id": "asa:negative-keywords:list",
|
|
5184
5789
|
"pluginAlias": "adapty",
|
|
5185
5790
|
"pluginName": "adapty",
|
|
5186
5791
|
"pluginType": "core",
|
|
@@ -5191,7 +5796,7 @@
|
|
|
5191
5796
|
"dist",
|
|
5192
5797
|
"commands",
|
|
5193
5798
|
"asa",
|
|
5194
|
-
"
|
|
5799
|
+
"negative-keywords",
|
|
5195
5800
|
"list.js"
|
|
5196
5801
|
]
|
|
5197
5802
|
},
|
|
@@ -5499,5 +6104,5 @@
|
|
|
5499
6104
|
]
|
|
5500
6105
|
}
|
|
5501
6106
|
},
|
|
5502
|
-
"version": "0.
|
|
6107
|
+
"version": "0.9.0"
|
|
5503
6108
|
}
|