@getlatedev/node 0.2.318 → 0.2.319
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 -10
- package/dist/index.d.ts +30 -10
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -2
- package/src/generated/types.gen.ts +25 -5
package/dist/index.d.mts
CHANGED
|
@@ -698,12 +698,12 @@ declare class Zernio {
|
|
|
698
698
|
* ads API
|
|
699
699
|
*/
|
|
700
700
|
ads: {
|
|
701
|
-
listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
701
|
+
listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
702
702
|
getAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdResponse, GetAdError, ThrowOnError>;
|
|
703
703
|
updateAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdResponse, unknown, ThrowOnError>;
|
|
704
704
|
deleteAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdResponse, DeleteAdError, ThrowOnError>;
|
|
705
|
-
getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
706
|
-
getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
705
|
+
getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
706
|
+
getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
707
707
|
getAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTrackingTagsResponse, unknown, ThrowOnError>;
|
|
708
708
|
updateAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
709
709
|
getAdComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdCommentsResponse, unknown, ThrowOnError>;
|
|
@@ -749,8 +749,8 @@ declare class Zernio {
|
|
|
749
749
|
duplicateAdCampaign: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateAdCampaignData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateAdCampaignResponse, unknown, ThrowOnError>;
|
|
750
750
|
updateAdSet: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetResponse, unknown, ThrowOnError>;
|
|
751
751
|
updateAdSetStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetStatusResponse, unknown, ThrowOnError>;
|
|
752
|
-
getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
753
|
-
getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
752
|
+
getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
753
|
+
getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
754
754
|
};
|
|
755
755
|
/**
|
|
756
756
|
* adaudiences API
|
|
@@ -21034,8 +21034,12 @@ type ListAdsData = {
|
|
|
21034
21034
|
};
|
|
21035
21035
|
type ListAdsResponse = ({
|
|
21036
21036
|
ads?: Array<Ad>;
|
|
21037
|
+
/**
|
|
21038
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21039
|
+
*/
|
|
21040
|
+
backfillPending?: boolean;
|
|
21037
21041
|
pagination?: Pagination;
|
|
21038
|
-
});
|
|
21042
|
+
} | unknown);
|
|
21039
21043
|
type ListAdsError = ({
|
|
21040
21044
|
error?: string;
|
|
21041
21045
|
} | unknown);
|
|
@@ -21380,8 +21384,12 @@ type GetAdTreeData = {
|
|
|
21380
21384
|
};
|
|
21381
21385
|
type GetAdTreeResponse = ({
|
|
21382
21386
|
campaigns?: Array<AdTreeCampaign>;
|
|
21387
|
+
/**
|
|
21388
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21389
|
+
*/
|
|
21390
|
+
backfillPending?: boolean;
|
|
21383
21391
|
pagination?: Pagination;
|
|
21384
|
-
});
|
|
21392
|
+
} | unknown);
|
|
21385
21393
|
type GetAdTreeError = ({
|
|
21386
21394
|
error?: string;
|
|
21387
21395
|
} | unknown);
|
|
@@ -21458,7 +21466,11 @@ type GetAdsTimelineResponse = ({
|
|
|
21458
21466
|
*/
|
|
21459
21467
|
roas?: number;
|
|
21460
21468
|
}>;
|
|
21461
|
-
|
|
21469
|
+
/**
|
|
21470
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21471
|
+
*/
|
|
21472
|
+
backfillPending?: boolean;
|
|
21473
|
+
} | unknown);
|
|
21462
21474
|
type GetAdsTimelineError = ({
|
|
21463
21475
|
error?: string;
|
|
21464
21476
|
} | unknown);
|
|
@@ -21596,6 +21608,10 @@ type GetCampaignAnalyticsResponse = ({
|
|
|
21596
21608
|
*/
|
|
21597
21609
|
currency?: (string) | null;
|
|
21598
21610
|
};
|
|
21611
|
+
/**
|
|
21612
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21613
|
+
*/
|
|
21614
|
+
backfillPending?: boolean;
|
|
21599
21615
|
analytics?: {
|
|
21600
21616
|
summary?: AdMetrics;
|
|
21601
21617
|
daily?: Array<(AdMetrics & {
|
|
@@ -21607,7 +21623,7 @@ type GetCampaignAnalyticsResponse = ({
|
|
|
21607
21623
|
}>;
|
|
21608
21624
|
};
|
|
21609
21625
|
};
|
|
21610
|
-
});
|
|
21626
|
+
} | unknown);
|
|
21611
21627
|
type GetCampaignAnalyticsError = ({
|
|
21612
21628
|
error?: string;
|
|
21613
21629
|
} | unknown);
|
|
@@ -21642,6 +21658,10 @@ type GetAdAnalyticsResponse = ({
|
|
|
21642
21658
|
*/
|
|
21643
21659
|
currency?: (string) | null;
|
|
21644
21660
|
};
|
|
21661
|
+
/**
|
|
21662
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21663
|
+
*/
|
|
21664
|
+
backfillPending?: boolean;
|
|
21645
21665
|
analytics?: {
|
|
21646
21666
|
summary?: AdMetrics;
|
|
21647
21667
|
daily?: Array<(AdMetrics & {
|
|
@@ -21653,7 +21673,7 @@ type GetAdAnalyticsResponse = ({
|
|
|
21653
21673
|
}>;
|
|
21654
21674
|
};
|
|
21655
21675
|
};
|
|
21656
|
-
});
|
|
21676
|
+
} | unknown);
|
|
21657
21677
|
type GetAdAnalyticsError = ({
|
|
21658
21678
|
error?: string;
|
|
21659
21679
|
} | unknown);
|
package/dist/index.d.ts
CHANGED
|
@@ -698,12 +698,12 @@ declare class Zernio {
|
|
|
698
698
|
* ads API
|
|
699
699
|
*/
|
|
700
700
|
ads: {
|
|
701
|
-
listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
701
|
+
listAds: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
702
702
|
getAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdResponse, GetAdError, ThrowOnError>;
|
|
703
703
|
updateAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdResponse, unknown, ThrowOnError>;
|
|
704
704
|
deleteAd: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAdResponse, DeleteAdError, ThrowOnError>;
|
|
705
|
-
getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
706
|
-
getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
705
|
+
getCampaignAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetCampaignAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
706
|
+
getAdAnalytics: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
707
707
|
getAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdTrackingTagsResponse, unknown, ThrowOnError>;
|
|
708
708
|
updateAdTrackingTags: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdTrackingTagsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
709
709
|
getAdComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAdCommentsResponse, unknown, ThrowOnError>;
|
|
@@ -749,8 +749,8 @@ declare class Zernio {
|
|
|
749
749
|
duplicateAdCampaign: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DuplicateAdCampaignData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DuplicateAdCampaignResponse, unknown, ThrowOnError>;
|
|
750
750
|
updateAdSet: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetResponse, unknown, ThrowOnError>;
|
|
751
751
|
updateAdSetStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAdSetStatusResponse, unknown, ThrowOnError>;
|
|
752
|
-
getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
753
|
-
getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<
|
|
752
|
+
getAdTree: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
753
|
+
getAdsTimeline: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
|
|
754
754
|
};
|
|
755
755
|
/**
|
|
756
756
|
* adaudiences API
|
|
@@ -21034,8 +21034,12 @@ type ListAdsData = {
|
|
|
21034
21034
|
};
|
|
21035
21035
|
type ListAdsResponse = ({
|
|
21036
21036
|
ads?: Array<Ad>;
|
|
21037
|
+
/**
|
|
21038
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21039
|
+
*/
|
|
21040
|
+
backfillPending?: boolean;
|
|
21037
21041
|
pagination?: Pagination;
|
|
21038
|
-
});
|
|
21042
|
+
} | unknown);
|
|
21039
21043
|
type ListAdsError = ({
|
|
21040
21044
|
error?: string;
|
|
21041
21045
|
} | unknown);
|
|
@@ -21380,8 +21384,12 @@ type GetAdTreeData = {
|
|
|
21380
21384
|
};
|
|
21381
21385
|
type GetAdTreeResponse = ({
|
|
21382
21386
|
campaigns?: Array<AdTreeCampaign>;
|
|
21387
|
+
/**
|
|
21388
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21389
|
+
*/
|
|
21390
|
+
backfillPending?: boolean;
|
|
21383
21391
|
pagination?: Pagination;
|
|
21384
|
-
});
|
|
21392
|
+
} | unknown);
|
|
21385
21393
|
type GetAdTreeError = ({
|
|
21386
21394
|
error?: string;
|
|
21387
21395
|
} | unknown);
|
|
@@ -21458,7 +21466,11 @@ type GetAdsTimelineResponse = ({
|
|
|
21458
21466
|
*/
|
|
21459
21467
|
roas?: number;
|
|
21460
21468
|
}>;
|
|
21461
|
-
|
|
21469
|
+
/**
|
|
21470
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21471
|
+
*/
|
|
21472
|
+
backfillPending?: boolean;
|
|
21473
|
+
} | unknown);
|
|
21462
21474
|
type GetAdsTimelineError = ({
|
|
21463
21475
|
error?: string;
|
|
21464
21476
|
} | unknown);
|
|
@@ -21596,6 +21608,10 @@ type GetCampaignAnalyticsResponse = ({
|
|
|
21596
21608
|
*/
|
|
21597
21609
|
currency?: (string) | null;
|
|
21598
21610
|
};
|
|
21611
|
+
/**
|
|
21612
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21613
|
+
*/
|
|
21614
|
+
backfillPending?: boolean;
|
|
21599
21615
|
analytics?: {
|
|
21600
21616
|
summary?: AdMetrics;
|
|
21601
21617
|
daily?: Array<(AdMetrics & {
|
|
@@ -21607,7 +21623,7 @@ type GetCampaignAnalyticsResponse = ({
|
|
|
21607
21623
|
}>;
|
|
21608
21624
|
};
|
|
21609
21625
|
};
|
|
21610
|
-
});
|
|
21626
|
+
} | unknown);
|
|
21611
21627
|
type GetCampaignAnalyticsError = ({
|
|
21612
21628
|
error?: string;
|
|
21613
21629
|
} | unknown);
|
|
@@ -21642,6 +21658,10 @@ type GetAdAnalyticsResponse = ({
|
|
|
21642
21658
|
*/
|
|
21643
21659
|
currency?: (string) | null;
|
|
21644
21660
|
};
|
|
21661
|
+
/**
|
|
21662
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21663
|
+
*/
|
|
21664
|
+
backfillPending?: boolean;
|
|
21645
21665
|
analytics?: {
|
|
21646
21666
|
summary?: AdMetrics;
|
|
21647
21667
|
daily?: Array<(AdMetrics & {
|
|
@@ -21653,7 +21673,7 @@ type GetAdAnalyticsResponse = ({
|
|
|
21653
21673
|
}>;
|
|
21654
21674
|
};
|
|
21655
21675
|
};
|
|
21656
|
-
});
|
|
21676
|
+
} | unknown);
|
|
21657
21677
|
type GetAdAnalyticsError = ({
|
|
21658
21678
|
error?: string;
|
|
21659
21679
|
} | unknown);
|
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.319",
|
|
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.319",
|
|
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
|
@@ -5936,8 +5936,9 @@ export const getAdTree = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
5936
5936
|
* (and vice-versa) — same convention as `/v1/ads/tree` and `/v1/ads`.
|
|
5937
5937
|
*
|
|
5938
5938
|
* Date range defaults to the last 90 days. Capped at 730 days. Ranges older
|
|
5939
|
-
* than the
|
|
5940
|
-
*
|
|
5939
|
+
* than the ingested history return a `202` immediately with the covered part
|
|
5940
|
+
* and `backfillPending: true` while the rest is backfilled in the background;
|
|
5941
|
+
* repeat the request shortly until it returns 200 with full data.
|
|
5941
5942
|
*
|
|
5942
5943
|
*/
|
|
5943
5944
|
export const getAdsTimeline = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdsTimelineData, ThrowOnError>) => {
|
|
@@ -21577,8 +21577,12 @@ export type ListAdsData = {
|
|
|
21577
21577
|
|
|
21578
21578
|
export type ListAdsResponse = ({
|
|
21579
21579
|
ads?: Array<Ad>;
|
|
21580
|
+
/**
|
|
21581
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21582
|
+
*/
|
|
21583
|
+
backfillPending?: boolean;
|
|
21580
21584
|
pagination?: Pagination;
|
|
21581
|
-
});
|
|
21585
|
+
} | unknown);
|
|
21582
21586
|
|
|
21583
21587
|
export type ListAdsError = ({
|
|
21584
21588
|
error?: string;
|
|
@@ -21950,8 +21954,12 @@ export type GetAdTreeData = {
|
|
|
21950
21954
|
|
|
21951
21955
|
export type GetAdTreeResponse = ({
|
|
21952
21956
|
campaigns?: Array<AdTreeCampaign>;
|
|
21957
|
+
/**
|
|
21958
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
21959
|
+
*/
|
|
21960
|
+
backfillPending?: boolean;
|
|
21953
21961
|
pagination?: Pagination;
|
|
21954
|
-
});
|
|
21962
|
+
} | unknown);
|
|
21955
21963
|
|
|
21956
21964
|
export type GetAdTreeError = ({
|
|
21957
21965
|
error?: string;
|
|
@@ -22031,7 +22039,11 @@ export type GetAdsTimelineResponse = ({
|
|
|
22031
22039
|
*/
|
|
22032
22040
|
roas?: number;
|
|
22033
22041
|
}>;
|
|
22034
|
-
|
|
22042
|
+
/**
|
|
22043
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
22044
|
+
*/
|
|
22045
|
+
backfillPending?: boolean;
|
|
22046
|
+
} | unknown);
|
|
22035
22047
|
|
|
22036
22048
|
export type GetAdsTimelineError = ({
|
|
22037
22049
|
error?: string;
|
|
@@ -22181,6 +22193,10 @@ export type GetCampaignAnalyticsResponse = ({
|
|
|
22181
22193
|
*/
|
|
22182
22194
|
currency?: (string) | null;
|
|
22183
22195
|
};
|
|
22196
|
+
/**
|
|
22197
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
22198
|
+
*/
|
|
22199
|
+
backfillPending?: boolean;
|
|
22184
22200
|
analytics?: {
|
|
22185
22201
|
summary?: AdMetrics;
|
|
22186
22202
|
daily?: Array<(AdMetrics & {
|
|
@@ -22192,7 +22208,7 @@ export type GetCampaignAnalyticsResponse = ({
|
|
|
22192
22208
|
}>;
|
|
22193
22209
|
};
|
|
22194
22210
|
};
|
|
22195
|
-
});
|
|
22211
|
+
} | unknown);
|
|
22196
22212
|
|
|
22197
22213
|
export type GetCampaignAnalyticsError = ({
|
|
22198
22214
|
error?: string;
|
|
@@ -22230,6 +22246,10 @@ export type GetAdAnalyticsResponse = ({
|
|
|
22230
22246
|
*/
|
|
22231
22247
|
currency?: (string) | null;
|
|
22232
22248
|
};
|
|
22249
|
+
/**
|
|
22250
|
+
* Present and true only on `202` responses: part of the requested date range is still being backfilled from the platform in the background. Retry the same request shortly; it returns 200 once the range is fully ingested.
|
|
22251
|
+
*/
|
|
22252
|
+
backfillPending?: boolean;
|
|
22233
22253
|
analytics?: {
|
|
22234
22254
|
summary?: AdMetrics;
|
|
22235
22255
|
daily?: Array<(AdMetrics & {
|
|
@@ -22241,7 +22261,7 @@ export type GetAdAnalyticsResponse = ({
|
|
|
22241
22261
|
}>;
|
|
22242
22262
|
};
|
|
22243
22263
|
};
|
|
22244
|
-
});
|
|
22264
|
+
} | unknown);
|
|
22245
22265
|
|
|
22246
22266
|
export type GetAdAnalyticsError = ({
|
|
22247
22267
|
error?: string;
|