@getlatedev/node 0.2.948 → 0.2.949

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/index.d.mts CHANGED
@@ -41697,6 +41697,11 @@ type CreateStandaloneAdData = {
41697
41697
  * `budgetAmount`/`budgetType` and bidding fields
41698
41698
  * (`bidStrategy`, `bidAmount`, `portfolioBidStrategyId`)
41699
41699
  * return 400 on this shape; the ad group already owns them.
41700
+ * With `campaignType: "demand_gen"` the ad group must belong to a
41701
+ * Demand Gen campaign (otherwise 400); `demandGen` carries only the
41702
+ * ad's creative, the new ad is created PAUSED, and ad group settings
41703
+ * (geo, languages, `demandGen.channels`/`audience`/`audienceId`/
41704
+ * `adGroupName`) return 400. `validateOnly` is supported.
41700
41705
  *
41701
41706
  */
41702
41707
  adSetId?: string;
@@ -41717,7 +41722,12 @@ type CreateStandaloneAdData = {
41717
41722
  * Ads: create a new ad group under this EXISTING campaign;
41718
41723
  * the new ad group inherits the campaign's budget, so omit
41719
41724
  * `budgetAmount`/`budgetType` (and any bidding field), or
41720
- * the request returns 400. On failure only the entities we
41725
+ * the request returns 400. With `campaignType: "demand_gen"` the
41726
+ * campaign must be a Demand Gen campaign (otherwise 400): the new ad
41727
+ * group (with its geo, languages, channels and audience from the
41728
+ * request) and its ad are created in one atomic request, the ad
41729
+ * group PAUSED; schedule and `locationTargetingType` belong to the
41730
+ * campaign and return 400. On failure only the entities we
41721
41731
  * authored are cleaned up; the pre-existing parent is left
41722
41732
  * untouched and is never (re)activated. Mutually exclusive
41723
41733
  * with `adSetId` and `creatives[]`.
package/dist/index.d.ts CHANGED
@@ -41697,6 +41697,11 @@ type CreateStandaloneAdData = {
41697
41697
  * `budgetAmount`/`budgetType` and bidding fields
41698
41698
  * (`bidStrategy`, `bidAmount`, `portfolioBidStrategyId`)
41699
41699
  * return 400 on this shape; the ad group already owns them.
41700
+ * With `campaignType: "demand_gen"` the ad group must belong to a
41701
+ * Demand Gen campaign (otherwise 400); `demandGen` carries only the
41702
+ * ad's creative, the new ad is created PAUSED, and ad group settings
41703
+ * (geo, languages, `demandGen.channels`/`audience`/`audienceId`/
41704
+ * `adGroupName`) return 400. `validateOnly` is supported.
41700
41705
  *
41701
41706
  */
41702
41707
  adSetId?: string;
@@ -41717,7 +41722,12 @@ type CreateStandaloneAdData = {
41717
41722
  * Ads: create a new ad group under this EXISTING campaign;
41718
41723
  * the new ad group inherits the campaign's budget, so omit
41719
41724
  * `budgetAmount`/`budgetType` (and any bidding field), or
41720
- * the request returns 400. On failure only the entities we
41725
+ * the request returns 400. With `campaignType: "demand_gen"` the
41726
+ * campaign must be a Demand Gen campaign (otherwise 400): the new ad
41727
+ * group (with its geo, languages, channels and audience from the
41728
+ * request) and its ad are created in one atomic request, the ad
41729
+ * group PAUSED; schedule and `locationTargetingType` belong to the
41730
+ * campaign and return 400. On failure only the entities we
41721
41731
  * authored are cleaned up; the pre-existing parent is left
41722
41732
  * untouched and is never (re)activated. Mutually exclusive
41723
41733
  * with `adSetId` and `creatives[]`.
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.948",
39
+ version: "0.2.949",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.948",
8
+ version: "0.2.949",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.948",
3
+ "version": "0.2.949",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10986,6 +10986,10 @@ export const replaceGoogleListingGroupFilters = <ThrowOnError extends boolean =
10986
10986
  * group) and `platformAdId`. Activate with PUT /v1/ads/campaigns/{campaignId}/status;
10987
10987
  * budget, bidding and name are edited with the regular campaign endpoints; creative,
10988
10988
  * channels, audience and ad group targeting with PUT /v1/ads/{adId} (`demandGen`, `targeting`).
10989
+ * To grow an existing Demand Gen campaign, send `existingCampaignId` (adds a PAUSED ad group,
10990
+ * with its own geo, languages, channels and audience, plus its ad) or `adSetId` (adds a
10991
+ * PAUSED ad to that ad group); neither takes budget, bidding or schedule fields, and both
10992
+ * support `validateOnly`.
10989
10993
  *
10990
10994
  * Other mutually-exclusive request shapes are selected by the body:
10991
10995
  *
@@ -42355,6 +42355,11 @@ export type CreateStandaloneAdData = {
42355
42355
  * `budgetAmount`/`budgetType` and bidding fields
42356
42356
  * (`bidStrategy`, `bidAmount`, `portfolioBidStrategyId`)
42357
42357
  * return 400 on this shape; the ad group already owns them.
42358
+ * With `campaignType: "demand_gen"` the ad group must belong to a
42359
+ * Demand Gen campaign (otherwise 400); `demandGen` carries only the
42360
+ * ad's creative, the new ad is created PAUSED, and ad group settings
42361
+ * (geo, languages, `demandGen.channels`/`audience`/`audienceId`/
42362
+ * `adGroupName`) return 400. `validateOnly` is supported.
42358
42363
  *
42359
42364
  */
42360
42365
  adSetId?: string;
@@ -42375,7 +42380,12 @@ export type CreateStandaloneAdData = {
42375
42380
  * Ads: create a new ad group under this EXISTING campaign;
42376
42381
  * the new ad group inherits the campaign's budget, so omit
42377
42382
  * `budgetAmount`/`budgetType` (and any bidding field), or
42378
- * the request returns 400. On failure only the entities we
42383
+ * the request returns 400. With `campaignType: "demand_gen"` the
42384
+ * campaign must be a Demand Gen campaign (otherwise 400): the new ad
42385
+ * group (with its geo, languages, channels and audience from the
42386
+ * request) and its ad are created in one atomic request, the ad
42387
+ * group PAUSED; schedule and `locationTargetingType` belong to the
42388
+ * campaign and return 400. On failure only the entities we
42379
42389
  * authored are cleaned up; the pre-existing parent is left
42380
42390
  * untouched and is never (re)activated. Mutually exclusive
42381
42391
  * with `adSetId` and `creatives[]`.