@koda-sl/baker-cli 0.307.2 → 0.309.1

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 CHANGED
@@ -13654,7 +13654,7 @@ var SEND_PLATFORM_SPECS = {
13654
13654
  },
13655
13655
  googleAds: {
13656
13656
  title: "Google Ads",
13657
- eventMeans: "The id of one of the account's conversion actions \u2014 copy it from `conversionActions`, never type one",
13657
+ eventMeans: "One of the account's conversion actions, picked from its list",
13658
13658
  eventKind: "id",
13659
13659
  credentialFields: ["oauthProviderId"],
13660
13660
  setupHint: "Connect the Google Ads conversion tag to a Google Ads account in Tracking"
@@ -13856,9 +13856,12 @@ var sendsResponseSchema = z28.object({
13856
13856
  * The conversions the platform already holds, by the id a send's `event`
13857
13857
  * takes and the name the person gave them. Google Ads only: its `event`
13858
13858
  * is an id Google issued, and an id the account does not hold is
13859
- * accepted and files against nothing.
13859
+ * accepted and files against nothing. `label` is the conversion label
13860
+ * the account's tag setup shows (`AW-…/<label>`) — how the person knows it.
13860
13861
  */
13861
- conversionActions: z28.array(z28.object({ id: z28.string(), name: z28.string(), primaryForGoal: z28.boolean() })).optional()
13862
+ conversionActions: z28.array(
13863
+ z28.object({ id: z28.string(), name: z28.string(), primaryForGoal: z28.boolean(), label: z28.string().optional() })
13864
+ ).optional()
13862
13865
  })
13863
13866
  ),
13864
13867
  /** Every field a send forwards. Nothing to map. */
@@ -30348,7 +30351,7 @@ var args = {
30348
30351
  },
30349
30352
  event: {
30350
30353
  type: "string",
30351
- description: 'What the platform calls it \u2014 `platforms[].eventMeans` says what each one takes: a Meta or Google Analytics event name (Purchase, Lead, generate_lead), a Google Ads conversion action id copied from `platforms[].conversionActions` (never typed: an id the account does not hold is refused), a LinkedIn conversion rule id, an X event tag id. On Meta and Google Analytics it may be WRITTEN FROM THE EVENT with the same {{path}} mentions --parameter takes: --event {{properties.plan}} sends each event under the plan it carries, --event "Purchase {{properties.tier}}" mixes text and a field. An event carrying nothing there is not uploaded. Google Ads, LinkedIn and X take an id THEY issued, so a template is refused there \u2014 pass what varies as a --parameter instead. For a GOOGLE ADS id, list the account\'s conversion actions first and pick by name \u2014 `baker ads google query "SELECT conversion_action.id, conversion_action.name, conversion_action.primary_for_goal FROM conversion_action WHERE conversion_action.status = \'ENABLED\'"` \u2014 never guess: Google accepts an upload against an id the account does not hold and files it against nothing',
30354
+ description: 'What the platform calls it \u2014 `platforms[].eventMeans` says what each one takes: a Meta or Google Analytics event name (Purchase, Lead, generate_lead), a Google Ads conversion action id copied from `platforms[].conversionActions`, or the conversion label the person gives you (staged as its id; never type an id: one the account does not hold is refused), a LinkedIn conversion rule id, an X event tag id. On Meta and Google Analytics it may be WRITTEN FROM THE EVENT with the same {{path}} mentions --parameter takes: --event {{properties.plan}} sends each event under the plan it carries, --event "Purchase {{properties.tier}}" mixes text and a field. An event carrying nothing there is not uploaded. Google Ads, LinkedIn and X take an id THEY issued, so a template is refused there \u2014 pass what varies as a --parameter instead. For a GOOGLE ADS id, list the account\'s conversion actions first and pick by name \u2014 `baker ads google query "SELECT conversion_action.id, conversion_action.name, conversion_action.primary_for_goal FROM conversion_action WHERE conversion_action.status = \'ENABLED\'"` \u2014 never guess: Google accepts an upload against an id the account does not hold and files it against nothing',
30352
30355
  required: false
30353
30356
  },
30354
30357
  account: {