@getlatedev/node 0.2.1470 → 0.2.1471
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 +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -2
package/dist/index.d.mts
CHANGED
|
@@ -59110,8 +59110,14 @@ type CreateStandaloneAdData = {
|
|
|
59110
59110
|
/**
|
|
59111
59111
|
* Meta-only. When present, switches to the multi-creative shape:
|
|
59112
59112
|
* creates 1 campaign + 1 ad set + N ads (one per entry here).
|
|
59113
|
+
* Mutually exclusive with `adSetId`.
|
|
59114
|
+
*
|
|
59115
|
+
* With `existingCampaignId` it creates 1 ad set + N ads under that campaign, so one call per
|
|
59116
|
+
* audience launches a creative matrix.
|
|
59117
|
+
*
|
|
59113
59118
|
* Top-level `headline` / `body` / `imageUrl` / `linkUrl` /
|
|
59114
|
-
* `callToAction` are ignored in this mode.
|
|
59119
|
+
* `callToAction` are ignored in this mode. Entries that repeat an `imageUrl` or `video.url` share
|
|
59120
|
+
* one upload.
|
|
59115
59121
|
*
|
|
59116
59122
|
*/
|
|
59117
59123
|
creatives?: Array<{
|
|
@@ -59177,10 +59183,11 @@ type CreateStandaloneAdData = {
|
|
|
59177
59183
|
*/
|
|
59178
59184
|
adSetId?: string;
|
|
59179
59185
|
/**
|
|
59180
|
-
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId
|
|
59186
|
+
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId`.
|
|
59181
59187
|
*
|
|
59182
59188
|
* - TikTok: creates the ad group and the ad under this campaign. The campaign is neither created nor activated, and its objective must fit `goal`. Not with `smartPlus`.
|
|
59183
59189
|
* - Meta: adds the new ad set under this campaign (multi-ad-set audience testing). Its budget matches the campaign's mode: for a CBO campaign (campaign-level budget) omit `budgetAmount`/`budgetType`, since the campaign owns the budget; for an ABO campaign pass them (they go on the new ad set).
|
|
59190
|
+
* - Meta with `creatives[]`: the new ad set gets one ad per entry.
|
|
59184
59191
|
* - LinkedIn: creates a new Campaign (and its Creative) under this EXISTING CampaignGroup.
|
|
59185
59192
|
* - Google Ads: creates a new ad group under this campaign. It inherits the campaign's budget, so omit `budgetAmount`/`budgetType` (and any bidding field), or the request returns 400.
|
|
59186
59193
|
* - Google Ads with `campaignType: "demand_gen"`: the campaign must be Demand Gen (otherwise 400). The new ad group (with its geo, languages, channels and audience from the request) and its ad are created in one atomic request, the ad group PAUSED. Schedule and `locationTargetingType` belong to the campaign and return 400.
|
package/dist/index.d.ts
CHANGED
|
@@ -59110,8 +59110,14 @@ type CreateStandaloneAdData = {
|
|
|
59110
59110
|
/**
|
|
59111
59111
|
* Meta-only. When present, switches to the multi-creative shape:
|
|
59112
59112
|
* creates 1 campaign + 1 ad set + N ads (one per entry here).
|
|
59113
|
+
* Mutually exclusive with `adSetId`.
|
|
59114
|
+
*
|
|
59115
|
+
* With `existingCampaignId` it creates 1 ad set + N ads under that campaign, so one call per
|
|
59116
|
+
* audience launches a creative matrix.
|
|
59117
|
+
*
|
|
59113
59118
|
* Top-level `headline` / `body` / `imageUrl` / `linkUrl` /
|
|
59114
|
-
* `callToAction` are ignored in this mode.
|
|
59119
|
+
* `callToAction` are ignored in this mode. Entries that repeat an `imageUrl` or `video.url` share
|
|
59120
|
+
* one upload.
|
|
59115
59121
|
*
|
|
59116
59122
|
*/
|
|
59117
59123
|
creatives?: Array<{
|
|
@@ -59177,10 +59183,11 @@ type CreateStandaloneAdData = {
|
|
|
59177
59183
|
*/
|
|
59178
59184
|
adSetId?: string;
|
|
59179
59185
|
/**
|
|
59180
|
-
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId
|
|
59186
|
+
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId`.
|
|
59181
59187
|
*
|
|
59182
59188
|
* - TikTok: creates the ad group and the ad under this campaign. The campaign is neither created nor activated, and its objective must fit `goal`. Not with `smartPlus`.
|
|
59183
59189
|
* - Meta: adds the new ad set under this campaign (multi-ad-set audience testing). Its budget matches the campaign's mode: for a CBO campaign (campaign-level budget) omit `budgetAmount`/`budgetType`, since the campaign owns the budget; for an ABO campaign pass them (they go on the new ad set).
|
|
59190
|
+
* - Meta with `creatives[]`: the new ad set gets one ad per entry.
|
|
59184
59191
|
* - LinkedIn: creates a new Campaign (and its Creative) under this EXISTING CampaignGroup.
|
|
59185
59192
|
* - Google Ads: creates a new ad group under this campaign. It inherits the campaign's budget, so omit `budgetAmount`/`budgetType` (and any bidding field), or the request returns 400.
|
|
59186
59193
|
* - Google Ads with `campaignType: "demand_gen"`: the campaign must be Demand Gen (otherwise 400). The new ad group (with its geo, languages, channels and audience from the request) and its ad are created in one atomic request, the ad group PAUSED. Schedule and `locationTargetingType` belong to the campaign and return 400.
|
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.
|
|
39
|
+
version: "0.2.1471",
|
|
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.
|
|
8
|
+
version: "0.2.1471",
|
|
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
|
@@ -60326,8 +60326,14 @@ export type CreateStandaloneAdData = {
|
|
|
60326
60326
|
/**
|
|
60327
60327
|
* Meta-only. When present, switches to the multi-creative shape:
|
|
60328
60328
|
* creates 1 campaign + 1 ad set + N ads (one per entry here).
|
|
60329
|
+
* Mutually exclusive with `adSetId`.
|
|
60330
|
+
*
|
|
60331
|
+
* With `existingCampaignId` it creates 1 ad set + N ads under that campaign, so one call per
|
|
60332
|
+
* audience launches a creative matrix.
|
|
60333
|
+
*
|
|
60329
60334
|
* Top-level `headline` / `body` / `imageUrl` / `linkUrl` /
|
|
60330
|
-
* `callToAction` are ignored in this mode.
|
|
60335
|
+
* `callToAction` are ignored in this mode. Entries that repeat an `imageUrl` or `video.url` share
|
|
60336
|
+
* one upload.
|
|
60331
60337
|
*
|
|
60332
60338
|
*/
|
|
60333
60339
|
creatives?: Array<{
|
|
@@ -60393,10 +60399,11 @@ export type CreateStandaloneAdData = {
|
|
|
60393
60399
|
*/
|
|
60394
60400
|
adSetId?: string;
|
|
60395
60401
|
/**
|
|
60396
|
-
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId
|
|
60402
|
+
* Create the new objects under this EXISTING campaign instead of creating a new one. Supported on Meta, Google Ads, LinkedIn, TikTok and Reddit Ads. Mutually exclusive with `adSetId`.
|
|
60397
60403
|
*
|
|
60398
60404
|
* - TikTok: creates the ad group and the ad under this campaign. The campaign is neither created nor activated, and its objective must fit `goal`. Not with `smartPlus`.
|
|
60399
60405
|
* - Meta: adds the new ad set under this campaign (multi-ad-set audience testing). Its budget matches the campaign's mode: for a CBO campaign (campaign-level budget) omit `budgetAmount`/`budgetType`, since the campaign owns the budget; for an ABO campaign pass them (they go on the new ad set).
|
|
60406
|
+
* - Meta with `creatives[]`: the new ad set gets one ad per entry.
|
|
60400
60407
|
* - LinkedIn: creates a new Campaign (and its Creative) under this EXISTING CampaignGroup.
|
|
60401
60408
|
* - Google Ads: creates a new ad group under this campaign. It inherits the campaign's budget, so omit `budgetAmount`/`budgetType` (and any bidding field), or the request returns 400.
|
|
60402
60409
|
* - Google Ads with `campaignType: "demand_gen"`: the campaign must be Demand Gen (otherwise 400). The new ad group (with its geo, languages, channels and audience from the request) and its ad are created in one atomic request, the ad group PAUSED. Schedule and `locationTargetingType` belong to the campaign and return 400.
|