@adkit/cli 1.13.14 → 1.13.16

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.
Files changed (2) hide show
  1. package/dist/cli.js +16 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -1003,9 +1003,14 @@ async function login({ baseUrl, scope }) {
1003
1003
  const spinner = createSpinner();
1004
1004
  spinner.start("Connecting to AdKit...");
1005
1005
  const session = await createSetupSession(baseUrl, scope);
1006
- await open_default(session.sessionUrl);
1007
- spinner.stop("\u2713 Browser opened \u2014 complete setup there");
1006
+ spinner.stop("Open this URL to complete setup:");
1008
1007
  console.log(` \x1B[2m${session.sessionUrl}\x1B[0m`);
1008
+ try {
1009
+ await open_default(session.sessionUrl);
1010
+ console.log("\u2713 Browser opened automatically");
1011
+ } catch {
1012
+ console.log("Could not open a browser automatically \u2014 use the URL above.");
1013
+ }
1009
1014
  spinner.start("Waiting for setup to complete...");
1010
1015
  const setup = await waitForSetupConfig(baseUrl, session.sessionId);
1011
1016
  spinner.stop();
@@ -5188,7 +5193,7 @@ Notes:
5188
5193
 
5189
5194
  Examples:
5190
5195
  adkit manage meta lead-forms list --page pg_123`;
5191
- var GOOGLE_ASSET_HELP = `adkit manage google assets \u2014 Reusable Google manual assets
5196
+ var GOOGLE_ASSET_HELP = `adkit manage google assets \u2014 Google manual and read-only location assets
5192
5197
 
5193
5198
  list List reusable assets
5194
5199
  create Create a reusable asset
@@ -5198,7 +5203,7 @@ var GOOGLE_ASSET_HELP = `adkit manage google assets \u2014 Reusable Google manua
5198
5203
  <id> View asset details
5199
5204
 
5200
5205
  Flags (list):
5201
- --type <type> callout, sitelink, structured-snippet
5206
+ --type <type> callout, sitelink, structured-snippet, call, location
5202
5207
  --scope <scope> account, campaign, ad-group
5203
5208
  --scope-id <id> Google campaign/ad group ID (platformId); required for campaign/ad-group scope
5204
5209
 
@@ -5222,12 +5227,13 @@ Examples:
5222
5227
  adkit manage google assets detach asset:123 --type callout --scope campaign --scope-id 456 --account 1234567890
5223
5228
 
5224
5229
  Notes:
5230
+ Location assets are read-only and available through list --type location.
5225
5231
  Raw callout text and "text|url" sitelinks exact-match reuse an existing asset first, otherwise AdKit creates and attaches a new one.
5226
5232
  A single reusable asset can be attached to multiple account/campaign/ad-group scopes over time.
5227
5233
  Use google assets when you want reusable libraries, account-level links, or richer sitelinks via --data.
5228
5234
 
5229
5235
  Run --help full for all fields and advanced options.`;
5230
- var GOOGLE_ASSET_HELP_FULL = `adkit manage google assets \u2014 Reusable Google manual assets
5236
+ var GOOGLE_ASSET_HELP_FULL = `adkit manage google assets \u2014 Google manual and read-only location assets
5231
5237
 
5232
5238
  list List reusable assets
5233
5239
  create Create a reusable asset
@@ -5237,7 +5243,7 @@ var GOOGLE_ASSET_HELP_FULL = `adkit manage google assets \u2014 Reusable Google
5237
5243
  <id> View asset details
5238
5244
 
5239
5245
  Flags (list):
5240
- --type <type> callout, sitelink, structured-snippet
5246
+ --type <type> callout, sitelink, structured-snippet, call, location
5241
5247
  --scope <scope> account, campaign, ad-group
5242
5248
  --scope-id <id> Google campaign/ad group ID (platformId); required for campaign/ad-group scope
5243
5249
  ${FLAG.account}
@@ -5274,7 +5280,10 @@ Examples:
5274
5280
  adkit manage google assets create --data '{"assets":[{"type":"sitelink","linkText":"Pricing","finalUrls":["https://example.com/pricing"],"description1":"See plans","description2":"Starts free"}]}' --account 1234567890
5275
5281
  adkit manage google assets update 123 --type callout --text "Free Returns" --account 1234567890
5276
5282
  adkit manage google assets attach asset:123 --type callout --scope campaign --scope-id 456 --account 1234567890
5277
- adkit manage google assets detach asset:123 --type callout --scope campaign --scope-id 456 --account 1234567890`.trim();
5283
+ adkit manage google assets detach asset:123 --type callout --scope campaign --scope-id 456 --account 1234567890
5284
+
5285
+ Notes:
5286
+ Location assets are read-only and available through list --type location.`.trim();
5278
5287
  var GOOGLE_CAMPAIGN_HELP = `adkit manage google campaigns \u2014 Google Ads campaigns
5279
5288
 
5280
5289
  list List campaigns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adkit/cli",
3
- "version": "1.13.14",
3
+ "version": "1.13.16",
4
4
  "description": "The Ads CLI for AI agents — manage Meta & Google ad campaigns, browse the ad library, and generate creatives from your terminal.",
5
5
  "keywords": [
6
6
  "ads cli",