@zernio/node 0.2.685 → 0.2.687
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 +30 -14
- package/dist/index.d.ts +30 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +10 -5
- package/src/generated/types.gen.ts +30 -14
package/dist/index.d.mts
CHANGED
|
@@ -3684,6 +3684,10 @@ type CtwaAdRequestBody = {
|
|
|
3684
3684
|
*
|
|
3685
3685
|
*/
|
|
3686
3686
|
dsaPayor?: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
3689
|
+
*/
|
|
3690
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
3687
3691
|
};
|
|
3688
3692
|
/**
|
|
3689
3693
|
* Required unless `adSetId` is set.
|
|
@@ -29575,11 +29579,11 @@ type ListAdCampaignsError = (ErrorResponse | {
|
|
|
29575
29579
|
type CreateAdCampaignData = {
|
|
29576
29580
|
body: {
|
|
29577
29581
|
/**
|
|
29578
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
29582
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
29579
29583
|
*/
|
|
29580
29584
|
accountId: string;
|
|
29581
29585
|
/**
|
|
29582
|
-
*
|
|
29586
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
29583
29587
|
*/
|
|
29584
29588
|
adAccountId: string;
|
|
29585
29589
|
name: string;
|
|
@@ -30526,7 +30530,7 @@ type GenerateAdPreviewsData = {
|
|
|
30526
30530
|
*/
|
|
30527
30531
|
accountId: string;
|
|
30528
30532
|
/**
|
|
30529
|
-
*
|
|
30533
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
30530
30534
|
*/
|
|
30531
30535
|
adAccountId: string;
|
|
30532
30536
|
/**
|
|
@@ -31202,7 +31206,7 @@ type CreateRfPredictionData = {
|
|
|
31202
31206
|
*/
|
|
31203
31207
|
accountId: string;
|
|
31204
31208
|
/**
|
|
31205
|
-
*
|
|
31209
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31206
31210
|
*/
|
|
31207
31211
|
adAccountId: string;
|
|
31208
31212
|
/**
|
|
@@ -31529,7 +31533,7 @@ type CreateAdCreativeData = {
|
|
|
31529
31533
|
*/
|
|
31530
31534
|
accountId: string;
|
|
31531
31535
|
/**
|
|
31532
|
-
*
|
|
31536
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31533
31537
|
*/
|
|
31534
31538
|
adAccountId: string;
|
|
31535
31539
|
headline: string;
|
|
@@ -31619,7 +31623,7 @@ type GetAdCreativeError = (unknown | {
|
|
|
31619
31623
|
type UpdateAdCreativeData = {
|
|
31620
31624
|
body: {
|
|
31621
31625
|
/**
|
|
31622
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31626
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31623
31627
|
*/
|
|
31624
31628
|
accountId: string;
|
|
31625
31629
|
name: string;
|
|
@@ -31696,11 +31700,11 @@ type ListValueRuleSetsError = (unknown | {
|
|
|
31696
31700
|
type CreateValueRuleSetData = {
|
|
31697
31701
|
body: {
|
|
31698
31702
|
/**
|
|
31699
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31703
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31700
31704
|
*/
|
|
31701
31705
|
accountId: string;
|
|
31702
31706
|
/**
|
|
31703
|
-
*
|
|
31707
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31704
31708
|
*/
|
|
31705
31709
|
adAccountId: string;
|
|
31706
31710
|
name: string;
|
|
@@ -31743,7 +31747,7 @@ type GetValueRuleSetError = (unknown | {
|
|
|
31743
31747
|
type UpdateValueRuleSetData = {
|
|
31744
31748
|
body: {
|
|
31745
31749
|
/**
|
|
31746
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31750
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31747
31751
|
*/
|
|
31748
31752
|
accountId: string;
|
|
31749
31753
|
/**
|
|
@@ -32219,6 +32223,10 @@ type BoostPostData = {
|
|
|
32219
32223
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32220
32224
|
*/
|
|
32221
32225
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32226
|
+
/**
|
|
32227
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32228
|
+
*/
|
|
32229
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32222
32230
|
/**
|
|
32223
32231
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32224
32232
|
*
|
|
@@ -32785,6 +32793,14 @@ type CreateStandaloneAdData = {
|
|
|
32785
32793
|
*
|
|
32786
32794
|
*/
|
|
32787
32795
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32796
|
+
/**
|
|
32797
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
32798
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
32799
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
32800
|
+
* includes the corresponding country.
|
|
32801
|
+
*
|
|
32802
|
+
*/
|
|
32803
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32788
32804
|
/**
|
|
32789
32805
|
* Required for lifetime budgets
|
|
32790
32806
|
*/
|
|
@@ -33808,11 +33824,11 @@ type CreateTestLeadError = (ErrorResponse | {
|
|
|
33808
33824
|
type UploadAdImageData = {
|
|
33809
33825
|
body: {
|
|
33810
33826
|
/**
|
|
33811
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
33827
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
33812
33828
|
*/
|
|
33813
33829
|
accountId: string;
|
|
33814
33830
|
/**
|
|
33815
|
-
*
|
|
33831
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
33816
33832
|
*/
|
|
33817
33833
|
adAccountId: string;
|
|
33818
33834
|
/**
|
|
@@ -33883,11 +33899,11 @@ type ListAdImagesError = (unknown | {
|
|
|
33883
33899
|
type UploadAdVideoData = {
|
|
33884
33900
|
body: {
|
|
33885
33901
|
/**
|
|
33886
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
33902
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
33887
33903
|
*/
|
|
33888
33904
|
accountId: string;
|
|
33889
33905
|
/**
|
|
33890
|
-
*
|
|
33906
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
33891
33907
|
*/
|
|
33892
33908
|
adAccountId: string;
|
|
33893
33909
|
/**
|
|
@@ -35343,7 +35359,7 @@ type ListCustomConversionsError = (unknown | {
|
|
|
35343
35359
|
type CreateCustomConversionData = {
|
|
35344
35360
|
body: {
|
|
35345
35361
|
/**
|
|
35346
|
-
*
|
|
35362
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
35347
35363
|
*/
|
|
35348
35364
|
adAccountId: string;
|
|
35349
35365
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3684,6 +3684,10 @@ type CtwaAdRequestBody = {
|
|
|
3684
3684
|
*
|
|
3685
3685
|
*/
|
|
3686
3686
|
dsaPayor?: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
3689
|
+
*/
|
|
3690
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
3687
3691
|
};
|
|
3688
3692
|
/**
|
|
3689
3693
|
* Required unless `adSetId` is set.
|
|
@@ -29575,11 +29579,11 @@ type ListAdCampaignsError = (ErrorResponse | {
|
|
|
29575
29579
|
type CreateAdCampaignData = {
|
|
29576
29580
|
body: {
|
|
29577
29581
|
/**
|
|
29578
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
29582
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
29579
29583
|
*/
|
|
29580
29584
|
accountId: string;
|
|
29581
29585
|
/**
|
|
29582
|
-
*
|
|
29586
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
29583
29587
|
*/
|
|
29584
29588
|
adAccountId: string;
|
|
29585
29589
|
name: string;
|
|
@@ -30526,7 +30530,7 @@ type GenerateAdPreviewsData = {
|
|
|
30526
30530
|
*/
|
|
30527
30531
|
accountId: string;
|
|
30528
30532
|
/**
|
|
30529
|
-
*
|
|
30533
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
30530
30534
|
*/
|
|
30531
30535
|
adAccountId: string;
|
|
30532
30536
|
/**
|
|
@@ -31202,7 +31206,7 @@ type CreateRfPredictionData = {
|
|
|
31202
31206
|
*/
|
|
31203
31207
|
accountId: string;
|
|
31204
31208
|
/**
|
|
31205
|
-
*
|
|
31209
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31206
31210
|
*/
|
|
31207
31211
|
adAccountId: string;
|
|
31208
31212
|
/**
|
|
@@ -31529,7 +31533,7 @@ type CreateAdCreativeData = {
|
|
|
31529
31533
|
*/
|
|
31530
31534
|
accountId: string;
|
|
31531
31535
|
/**
|
|
31532
|
-
*
|
|
31536
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31533
31537
|
*/
|
|
31534
31538
|
adAccountId: string;
|
|
31535
31539
|
headline: string;
|
|
@@ -31619,7 +31623,7 @@ type GetAdCreativeError = (unknown | {
|
|
|
31619
31623
|
type UpdateAdCreativeData = {
|
|
31620
31624
|
body: {
|
|
31621
31625
|
/**
|
|
31622
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31626
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31623
31627
|
*/
|
|
31624
31628
|
accountId: string;
|
|
31625
31629
|
name: string;
|
|
@@ -31696,11 +31700,11 @@ type ListValueRuleSetsError = (unknown | {
|
|
|
31696
31700
|
type CreateValueRuleSetData = {
|
|
31697
31701
|
body: {
|
|
31698
31702
|
/**
|
|
31699
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31703
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31700
31704
|
*/
|
|
31701
31705
|
accountId: string;
|
|
31702
31706
|
/**
|
|
31703
|
-
*
|
|
31707
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31704
31708
|
*/
|
|
31705
31709
|
adAccountId: string;
|
|
31706
31710
|
name: string;
|
|
@@ -31743,7 +31747,7 @@ type GetValueRuleSetError = (unknown | {
|
|
|
31743
31747
|
type UpdateValueRuleSetData = {
|
|
31744
31748
|
body: {
|
|
31745
31749
|
/**
|
|
31746
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
31750
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
31747
31751
|
*/
|
|
31748
31752
|
accountId: string;
|
|
31749
31753
|
/**
|
|
@@ -32219,6 +32223,10 @@ type BoostPostData = {
|
|
|
32219
32223
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32220
32224
|
*/
|
|
32221
32225
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32226
|
+
/**
|
|
32227
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32228
|
+
*/
|
|
32229
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32222
32230
|
/**
|
|
32223
32231
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32224
32232
|
*
|
|
@@ -32785,6 +32793,14 @@ type CreateStandaloneAdData = {
|
|
|
32785
32793
|
*
|
|
32786
32794
|
*/
|
|
32787
32795
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32796
|
+
/**
|
|
32797
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
32798
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
32799
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
32800
|
+
* includes the corresponding country.
|
|
32801
|
+
*
|
|
32802
|
+
*/
|
|
32803
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32788
32804
|
/**
|
|
32789
32805
|
* Required for lifetime budgets
|
|
32790
32806
|
*/
|
|
@@ -33808,11 +33824,11 @@ type CreateTestLeadError = (ErrorResponse | {
|
|
|
33808
33824
|
type UploadAdImageData = {
|
|
33809
33825
|
body: {
|
|
33810
33826
|
/**
|
|
33811
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
33827
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
33812
33828
|
*/
|
|
33813
33829
|
accountId: string;
|
|
33814
33830
|
/**
|
|
33815
|
-
*
|
|
33831
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
33816
33832
|
*/
|
|
33817
33833
|
adAccountId: string;
|
|
33818
33834
|
/**
|
|
@@ -33883,11 +33899,11 @@ type ListAdImagesError = (unknown | {
|
|
|
33883
33899
|
type UploadAdVideoData = {
|
|
33884
33900
|
body: {
|
|
33885
33901
|
/**
|
|
33886
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
33902
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
33887
33903
|
*/
|
|
33888
33904
|
accountId: string;
|
|
33889
33905
|
/**
|
|
33890
|
-
*
|
|
33906
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
33891
33907
|
*/
|
|
33892
33908
|
adAccountId: string;
|
|
33893
33909
|
/**
|
|
@@ -35343,7 +35359,7 @@ type ListCustomConversionsError = (unknown | {
|
|
|
35343
35359
|
type CreateCustomConversionData = {
|
|
35344
35360
|
body: {
|
|
35345
35361
|
/**
|
|
35346
|
-
*
|
|
35362
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
35347
35363
|
*/
|
|
35348
35364
|
adAccountId: string;
|
|
35349
35365
|
/**
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.687",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.687",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -7697,11 +7697,16 @@ export const listAdCampaigns = <ThrowOnError extends boolean = false>(options?:
|
|
|
7697
7697
|
|
|
7698
7698
|
/**
|
|
7699
7699
|
* Create a standalone campaign
|
|
7700
|
-
* Creates a campaign WITHOUT its first ad set / ad
|
|
7701
|
-
* later via `existingCampaignId` on the create endpoints.
|
|
7702
|
-
*
|
|
7703
|
-
*
|
|
7704
|
-
*
|
|
7700
|
+
* Creates a campaign WITHOUT its first ad set / ad, on the platform of the given
|
|
7701
|
+
* `accountId`. Ad sets join it later via `existingCampaignId` on the create endpoints.
|
|
7702
|
+
* Platform notes: on Meta a budget here is campaign-level (CBO) by definition; omit it
|
|
7703
|
+
* for ABO (each ad set carries its own budget), and `specialAdCategories` /
|
|
7704
|
+
* `bidStrategy` are Meta-only (400 elsewhere). Google, X and OpenAI require a budget
|
|
7705
|
+
* (422 without one; OpenAI accepts only `budgetType: lifetime`). LinkedIn creates the
|
|
7706
|
+
* campaign GROUP (our campaign level) and rejects a budget, which lives on the
|
|
7707
|
+
* campaign (ad set) level there; it comes back `status: DRAFT`. TikTok campaigns are
|
|
7708
|
+
* created without a status and report `ENABLE`. Created `PAUSED` unless
|
|
7709
|
+
* `status: ACTIVE` where the platform supports it.
|
|
7705
7710
|
*
|
|
7706
7711
|
* **Idempotency:** send an `Idempotency-Key` header to make retries safe.
|
|
7707
7712
|
*/
|
|
@@ -2413,6 +2413,10 @@ export type CtwaAdRequestBody = {
|
|
|
2413
2413
|
*
|
|
2414
2414
|
*/
|
|
2415
2415
|
dsaPayor?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
2418
|
+
*/
|
|
2419
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
2416
2420
|
};
|
|
2417
2421
|
|
|
2418
2422
|
/**
|
|
@@ -29997,11 +30001,11 @@ export type ListAdCampaignsError = (ErrorResponse | {
|
|
|
29997
30001
|
export type CreateAdCampaignData = {
|
|
29998
30002
|
body: {
|
|
29999
30003
|
/**
|
|
30000
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
30004
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
30001
30005
|
*/
|
|
30002
30006
|
accountId: string;
|
|
30003
30007
|
/**
|
|
30004
|
-
*
|
|
30008
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
30005
30009
|
*/
|
|
30006
30010
|
adAccountId: string;
|
|
30007
30011
|
name: string;
|
|
@@ -31008,7 +31012,7 @@ export type GenerateAdPreviewsData = {
|
|
|
31008
31012
|
*/
|
|
31009
31013
|
accountId: string;
|
|
31010
31014
|
/**
|
|
31011
|
-
*
|
|
31015
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31012
31016
|
*/
|
|
31013
31017
|
adAccountId: string;
|
|
31014
31018
|
/**
|
|
@@ -31726,7 +31730,7 @@ export type CreateRfPredictionData = {
|
|
|
31726
31730
|
*/
|
|
31727
31731
|
accountId: string;
|
|
31728
31732
|
/**
|
|
31729
|
-
*
|
|
31733
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
31730
31734
|
*/
|
|
31731
31735
|
adAccountId: string;
|
|
31732
31736
|
/**
|
|
@@ -32083,7 +32087,7 @@ export type CreateAdCreativeData = {
|
|
|
32083
32087
|
*/
|
|
32084
32088
|
accountId: string;
|
|
32085
32089
|
/**
|
|
32086
|
-
*
|
|
32090
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
32087
32091
|
*/
|
|
32088
32092
|
adAccountId: string;
|
|
32089
32093
|
headline: string;
|
|
@@ -32179,7 +32183,7 @@ export type GetAdCreativeError = (unknown | {
|
|
|
32179
32183
|
export type UpdateAdCreativeData = {
|
|
32180
32184
|
body: {
|
|
32181
32185
|
/**
|
|
32182
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
32186
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
32183
32187
|
*/
|
|
32184
32188
|
accountId: string;
|
|
32185
32189
|
name: string;
|
|
@@ -32265,11 +32269,11 @@ export type ListValueRuleSetsError = (unknown | {
|
|
|
32265
32269
|
export type CreateValueRuleSetData = {
|
|
32266
32270
|
body: {
|
|
32267
32271
|
/**
|
|
32268
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
32272
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
32269
32273
|
*/
|
|
32270
32274
|
accountId: string;
|
|
32271
32275
|
/**
|
|
32272
|
-
*
|
|
32276
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
32273
32277
|
*/
|
|
32274
32278
|
adAccountId: string;
|
|
32275
32279
|
name: string;
|
|
@@ -32318,7 +32322,7 @@ export type GetValueRuleSetError = (unknown | {
|
|
|
32318
32322
|
export type UpdateValueRuleSetData = {
|
|
32319
32323
|
body: {
|
|
32320
32324
|
/**
|
|
32321
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
32325
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
32322
32326
|
*/
|
|
32323
32327
|
accountId: string;
|
|
32324
32328
|
/**
|
|
@@ -32815,6 +32819,10 @@ export type BoostPostData = {
|
|
|
32815
32819
|
* Meta (metaads) only. 2-letter ISO country codes the special ad category applies to. Requires specialAdCategories to be set (400 otherwise).
|
|
32816
32820
|
*/
|
|
32817
32821
|
specialAdCategoryCountry?: Array<(string)>;
|
|
32822
|
+
/**
|
|
32823
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries (e.g. SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV, INDIA_FINSERV). Forwarded to the ad set.
|
|
32824
|
+
*/
|
|
32825
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
32818
32826
|
/**
|
|
32819
32827
|
* Destination URL for the CTA button. Send it together with `callToAction`.
|
|
32820
32828
|
*
|
|
@@ -33384,6 +33392,14 @@ export type CreateStandaloneAdData = {
|
|
|
33384
33392
|
*
|
|
33385
33393
|
*/
|
|
33386
33394
|
specialAdCategoryCountry?: Array<(string)>;
|
|
33395
|
+
/**
|
|
33396
|
+
* Meta only. Regional regulation categories required when the ad set targets certain countries.
|
|
33397
|
+
* Known values: SINGAPORE_UNIVERSAL, TAIWAN_UNIVERSAL, THAILAND_UNIVERSAL, AUSTRALIA_FINSERV,
|
|
33398
|
+
* INDIA_FINSERV, TAIWAN_FINSERV. Meta rejects the ad set without this when the targeting geo
|
|
33399
|
+
* includes the corresponding country.
|
|
33400
|
+
*
|
|
33401
|
+
*/
|
|
33402
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
33387
33403
|
/**
|
|
33388
33404
|
* Required for lifetime budgets
|
|
33389
33405
|
*/
|
|
@@ -34431,11 +34447,11 @@ export type CreateTestLeadError = (ErrorResponse | {
|
|
|
34431
34447
|
export type UploadAdImageData = {
|
|
34432
34448
|
body: {
|
|
34433
34449
|
/**
|
|
34434
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
34450
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
34435
34451
|
*/
|
|
34436
34452
|
accountId: string;
|
|
34437
34453
|
/**
|
|
34438
|
-
*
|
|
34454
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
34439
34455
|
*/
|
|
34440
34456
|
adAccountId: string;
|
|
34441
34457
|
/**
|
|
@@ -34512,11 +34528,11 @@ export type ListAdImagesError = (unknown | {
|
|
|
34512
34528
|
export type UploadAdVideoData = {
|
|
34513
34529
|
body: {
|
|
34514
34530
|
/**
|
|
34515
|
-
* Zernio SocialAccount id (posting or ads variant)
|
|
34531
|
+
* Zernio SocialAccount id (posting or ads variant); its platform decides where the campaign is created.
|
|
34516
34532
|
*/
|
|
34517
34533
|
accountId: string;
|
|
34518
34534
|
/**
|
|
34519
|
-
*
|
|
34535
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
34520
34536
|
*/
|
|
34521
34537
|
adAccountId: string;
|
|
34522
34538
|
/**
|
|
@@ -36077,7 +36093,7 @@ export type ListCustomConversionsError = (unknown | {
|
|
|
36077
36093
|
export type CreateCustomConversionData = {
|
|
36078
36094
|
body: {
|
|
36079
36095
|
/**
|
|
36080
|
-
*
|
|
36096
|
+
* Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id, ...).
|
|
36081
36097
|
*/
|
|
36082
36098
|
adAccountId: string;
|
|
36083
36099
|
/**
|