@adkit/cli 1.13.16 → 1.13.17
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/dist/cli.js +6 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5317,7 +5317,8 @@ Flags (list):
|
|
|
5317
5317
|
|
|
5318
5318
|
Note:
|
|
5319
5319
|
list returns campaign configuration only (name, status, budget).
|
|
5320
|
-
Geo targeting lives in targeting.geoLocations.
|
|
5320
|
+
Geo targeting lives in targeting.geoLocations. For countries, use {"type":"country","country":"US"}.
|
|
5321
|
+
Use --data to set match to "presence" or "presence_or_interest". AdKit uses presence on create; on update, omit match to keep the live value.
|
|
5321
5322
|
For cities, regions, postal codes, and metros, run google geo-locations search and use the returned bare code.
|
|
5322
5323
|
Advanced geo examples: adkit manage google campaigns --help full
|
|
5323
5324
|
Display creation starts here: campaigns create --campaign-type display, then create Display ad groups and responsive_display ads.
|
|
@@ -5329,6 +5330,7 @@ Examples:
|
|
|
5329
5330
|
adkit manage google campaigns list --account 1234567890
|
|
5330
5331
|
adkit manage google campaigns create --name "Display Prospecting" --campaign-type display --budget-daily 50 --account 1234567890
|
|
5331
5332
|
adkit manage google campaigns create --data '{"campaigns":[{"name":"Display US","campaignType":"display","budget":{"daily":50},"targeting":{"geoLocations":{"include":[{"type":"country","country":"US"}]}}}]}' --account 1234567890
|
|
5333
|
+
adkit manage google campaigns update 987654321 --data '{"targeting":{"geoLocations":{"match":"presence_or_interest"}}}' --account 1234567890
|
|
5332
5334
|
adkit manage google campaigns update 987654321 --status paused --account 1234567890
|
|
5333
5335
|
adkit manage google campaigns delete 987654321 --account 1234567890
|
|
5334
5336
|
|
|
@@ -5369,7 +5371,8 @@ Flags (list):
|
|
|
5369
5371
|
Notes:
|
|
5370
5372
|
Use google assets for explicit account/campaign/ad-group attachment, reusable libraries, or richer sitelinks via --data.
|
|
5371
5373
|
list returns campaign configuration only (name, status, budget).
|
|
5372
|
-
Geo targeting lives in targeting.geoLocations.
|
|
5374
|
+
Geo targeting lives in targeting.geoLocations. For countries, use {"type":"country","country":"US"}.
|
|
5375
|
+
Use --data to set match to "presence" or "presence_or_interest". AdKit uses presence on create; on update, match alone changes matching without replacing locations and omission keeps the live value.
|
|
5373
5376
|
platformLocation accepts exact Google geo objects for advanced criteria and existing raw values.
|
|
5374
5377
|
Google exclusions support named locations. Proximity circles belong in include.
|
|
5375
5378
|
Display campaign creation uses campaignType:"display" or --campaign-type display. Videos are not supported for Display media in v1.
|
|
@@ -5385,6 +5388,7 @@ Examples:
|
|
|
5385
5388
|
adkit manage google campaigns create --data '{"campaigns":[{"name":"SF Radius","campaignType":"search","budget":{"daily":5},"targeting":{"geoLocations":{"include":[{"type":"platformLocation","platform":"google","value":{"proximity":{"geo_point":{"latitude_in_micro_degrees":37774900,"longitude_in_micro_degrees":-122419400},"radius":5,"radius_units":"MILES"}}}]}}}]}' --account 1234567890
|
|
5386
5389
|
adkit manage google campaigns create --data '{"campaigns":[{"name":"PMAX Launch","campaignType":"performance_max","budget":{"daily":50},"bidStrategy":"maximize_conversions","assetGroups":[{"name":"Asset Group 1","finalUrls":["https://example.com"],"assets":[{"role":"headline","text":"Ship faster"},{"role":"headline","text":"Save hours every week"},{"role":"headline","text":"Start free today"},{"role":"long_headline","text":"Automate your ad workflow and launch in minutes"},{"role":"description","text":"Automate your workflow in minutes"},{"role":"description","text":"No credit card required"},{"role":"business_name","text":"Acme"},{"role":"logo","id":"<uploaded-asset-id>"},{"role":"marketing_image","id":"<uploaded-asset-id>"},{"role":"square_marketing_image","id":"<uploaded-asset-id>"}],"signals":[{"type":"search_theme","text":"project management software"}]}]}]}' --account 1234567890
|
|
5387
5390
|
adkit manage google campaigns update 987654321 --status paused --account 1234567890
|
|
5391
|
+
adkit manage google campaigns update 987654321 --data '{"targeting":{"geoLocations":{"match":"presence_or_interest"}}}' --account 1234567890
|
|
5388
5392
|
adkit manage google campaigns delete 987654321 --account 1234567890 --publish`;
|
|
5389
5393
|
var GOOGLE_AD_GROUP_HELP = `adkit manage google ad-groups \u2014 Google Ads ad groups
|
|
5390
5394
|
|
package/package.json
CHANGED