@zernio/node 0.2.1014 → 0.2.1016
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 +37 -1
- package/dist/index.d.ts +37 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +38 -0
|
@@ -7672,6 +7672,7 @@ export type MetaAdsPlatformData = {
|
|
|
7672
7672
|
* Meta lifetime_min_spend_target: the lifetime-budget flavour of dailyMinSpendTarget, in whole currency units. Same rules and same rejections.
|
|
7673
7673
|
*/
|
|
7674
7674
|
lifetimeMinSpendTarget?: number;
|
|
7675
|
+
customerLifecycle?: MetaCustomerLifecycle;
|
|
7675
7676
|
};
|
|
7676
7677
|
|
|
7677
7678
|
export type MetaAssignedUser = {
|
|
@@ -7807,6 +7808,39 @@ export type MetaCreativeFeatures = {
|
|
|
7807
7808
|
[key: string]: ('OPT_IN' | 'OPT_OUT');
|
|
7808
7809
|
};
|
|
7809
7810
|
|
|
7811
|
+
/**
|
|
7812
|
+
* Meta's Customer Lifecycle Strategy on a Sales ad set (Meta `ad_set_goal`). Rejected with 400
|
|
7813
|
+
* in adSetId attach mode: use PUT /v1/ads/ad-sets/{adSetId} for an ad set that already exists.
|
|
7814
|
+
* Read it back with `GET /v1/ads/ad-sets/{adSetId}?fields=ad_set_goal` (type 0 all customers,
|
|
7815
|
+
* 1 new excluding engaged, 2 new customers).
|
|
7816
|
+
*
|
|
7817
|
+
*/
|
|
7818
|
+
export type MetaCustomerLifecycle = {
|
|
7819
|
+
/**
|
|
7820
|
+
* `all_customers` is "Maximize conversions from all customers". `new_customers` is "Acquire new
|
|
7821
|
+
* customers" (excludes existing customers). `new_customers_excluding_engaged` also excludes
|
|
7822
|
+
* people who engaged with you but have not bought yet.
|
|
7823
|
+
*
|
|
7824
|
+
*/
|
|
7825
|
+
strategy: 'all_customers' | 'new_customers' | 'new_customers_excluding_engaged';
|
|
7826
|
+
/**
|
|
7827
|
+
* Custom audience ids that define your existing customers. Omit to use the definition saved on the ad account. Only with a new_customers strategy.
|
|
7828
|
+
*/
|
|
7829
|
+
existingCustomerAudienceIds?: Array<(string)>;
|
|
7830
|
+
/**
|
|
7831
|
+
* Custom audience ids that define engaged people. Only with new_customers_excluding_engaged.
|
|
7832
|
+
*/
|
|
7833
|
+
engagedAudienceIds?: Array<(string)>;
|
|
7834
|
+
};
|
|
7835
|
+
|
|
7836
|
+
/**
|
|
7837
|
+
* `all_customers` is "Maximize conversions from all customers". `new_customers` is "Acquire new
|
|
7838
|
+
* customers" (excludes existing customers). `new_customers_excluding_engaged` also excludes
|
|
7839
|
+
* people who engaged with you but have not bought yet.
|
|
7840
|
+
*
|
|
7841
|
+
*/
|
|
7842
|
+
export type strategy = 'all_customers' | 'new_customers' | 'new_customers_excluding_engaged';
|
|
7843
|
+
|
|
7810
7844
|
export type MetaFeedUpload = {
|
|
7811
7845
|
id?: string;
|
|
7812
7846
|
url?: (string) | null;
|
|
@@ -22384,6 +22418,9 @@ export type GetFacebookPagesResponse = ({
|
|
|
22384
22418
|
fan_count?: number;
|
|
22385
22419
|
}>;
|
|
22386
22420
|
selectedPageId?: string;
|
|
22421
|
+
/**
|
|
22422
|
+
* false when this response was just read from Meta (cold cache or a refresh that ran), true when served from the stored list (including a debounced refresh or an empty Meta answer)
|
|
22423
|
+
*/
|
|
22387
22424
|
cached?: boolean;
|
|
22388
22425
|
});
|
|
22389
22426
|
|
|
@@ -40111,6 +40148,7 @@ export type UpdateAdSetData = {
|
|
|
40111
40148
|
*
|
|
40112
40149
|
*/
|
|
40113
40150
|
lifetimeMinSpendTarget?: number;
|
|
40151
|
+
customerLifecycle?: MetaCustomerLifecycle;
|
|
40114
40152
|
/**
|
|
40115
40153
|
* Meta ad-set promoted_object, forwarded verbatim (same shape as /v1/ads/create). Unknown keys are rejected with 400.
|
|
40116
40154
|
*/
|