@getlatedev/node 0.2.1413 → 0.2.1414
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 +39 -3
- package/dist/index.d.ts +39 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +39 -3
package/dist/index.d.mts
CHANGED
|
@@ -6509,6 +6509,10 @@ type CampaignReport = {
|
|
|
6509
6509
|
* Latest view counts.
|
|
6510
6510
|
*/
|
|
6511
6511
|
total: number;
|
|
6512
|
+
/**
|
|
6513
|
+
* Views from ads, on YouTube and X posts.
|
|
6514
|
+
*/
|
|
6515
|
+
paid: number;
|
|
6512
6516
|
};
|
|
6513
6517
|
/**
|
|
6514
6518
|
* The campaign engagement types summed over the same submissions.
|
|
@@ -6620,6 +6624,14 @@ type CampaignSubmission = {
|
|
|
6620
6624
|
* The campaign engagement types summed at the latest read (all four on a views campaign), frozen at the tracking window end like `viewsEligible`. An `engagements` campaign earns on this count.
|
|
6621
6625
|
*/
|
|
6622
6626
|
engagementsLatest: (number) | null;
|
|
6627
|
+
/**
|
|
6628
|
+
* Views from ads the creator ran: YouTube views from the advertising traffic source, X impressions beyond the organic ones. Null on other platforms and before the first read. On an organic-only campaign `viewsEligible` is the latest views minus these.
|
|
6629
|
+
*/
|
|
6630
|
+
viewsPaid: (number) | null;
|
|
6631
|
+
/**
|
|
6632
|
+
* When `viewsPaid` was last read. YouTube refreshes every 6 hours and reports ad views up to 2 days late; X about once a day while the post is under 30 days old.
|
|
6633
|
+
*/
|
|
6634
|
+
paidViewsReadAt: (string) | null;
|
|
6623
6635
|
lastAccruedViews: number;
|
|
6624
6636
|
accruedCents: number;
|
|
6625
6637
|
approvedCents: number;
|
|
@@ -6704,11 +6716,11 @@ type CampaignSubmissionDetail = CampaignSubmission & {
|
|
|
6704
6716
|
}>;
|
|
6705
6717
|
};
|
|
6706
6718
|
type CampaignSubmissionFlag = {
|
|
6707
|
-
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
6719
|
+
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6708
6720
|
detail: string;
|
|
6709
6721
|
raisedAt: string;
|
|
6710
6722
|
};
|
|
6711
|
-
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
6723
|
+
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6712
6724
|
/**
|
|
6713
6725
|
* Actions taken on the matched comment itself (comment trigger only; ignored on the
|
|
6714
6726
|
* story-reply and DM doors). They never block or fail the DM: when one cannot run,
|
|
@@ -8493,6 +8505,10 @@ type CreatorCampaignEconomicsCpm = {
|
|
|
8493
8505
|
* With `metric: engagements`, the engagements that count. Missing means all four, and sending it on a views campaign answers 400. YouTube reports likes and comments only, Facebook and Threads have no saves, and Pinterest reports saves only.
|
|
8494
8506
|
*/
|
|
8495
8507
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
8508
|
+
/**
|
|
8509
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
8510
|
+
*/
|
|
8511
|
+
organicViewsOnly?: boolean;
|
|
8496
8512
|
ratePer1kCents: number;
|
|
8497
8513
|
/**
|
|
8498
8514
|
* The count a post must reach before it earns, in the campaign metric (views or engagements).
|
|
@@ -8515,6 +8531,10 @@ type CreatorCampaignEconomicsPool = {
|
|
|
8515
8531
|
type: 'pool';
|
|
8516
8532
|
budgetCents: number;
|
|
8517
8533
|
minViewsToQualify: number;
|
|
8534
|
+
/**
|
|
8535
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
8536
|
+
*/
|
|
8537
|
+
organicViewsOnly?: boolean;
|
|
8518
8538
|
};
|
|
8519
8539
|
/**
|
|
8520
8540
|
* The campaign as a creator sees it: terms, never the budget.
|
|
@@ -8566,6 +8586,10 @@ type CreatorPortalEconomics = {
|
|
|
8566
8586
|
* The engagements that count. Missing means all four.
|
|
8567
8587
|
*/
|
|
8568
8588
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
8589
|
+
/**
|
|
8590
|
+
* Only organic views count; views from ads do not.
|
|
8591
|
+
*/
|
|
8592
|
+
organicViewsOnly?: boolean;
|
|
8569
8593
|
ratePer1kCents: number;
|
|
8570
8594
|
minViewsToEarn: number;
|
|
8571
8595
|
maxPayoutPerClipCents?: number;
|
|
@@ -8577,6 +8601,10 @@ type CreatorPortalEconomics = {
|
|
|
8577
8601
|
type: 'pool';
|
|
8578
8602
|
poolCents: number;
|
|
8579
8603
|
minViewsToQualify: number;
|
|
8604
|
+
/**
|
|
8605
|
+
* Only organic views count; views from ads do not.
|
|
8606
|
+
*/
|
|
8607
|
+
organicViewsOnly?: boolean;
|
|
8580
8608
|
};
|
|
8581
8609
|
type type10 = 'cpm';
|
|
8582
8610
|
type CreatorPortalInvite = {
|
|
@@ -8680,6 +8708,10 @@ type CreatorPortalSubmission = {
|
|
|
8680
8708
|
* The campaign engagement types summed at the latest read. Null until the post is read.
|
|
8681
8709
|
*/
|
|
8682
8710
|
engagements: (number) | null;
|
|
8711
|
+
/**
|
|
8712
|
+
* Views that came from ads the creator ran, on YouTube and X. Null where the platform does not report them or before the first read.
|
|
8713
|
+
*/
|
|
8714
|
+
viewsFromAds: (number) | null;
|
|
8683
8715
|
earnedCents: number;
|
|
8684
8716
|
rejectReason: (string) | null;
|
|
8685
8717
|
/**
|
|
@@ -19579,6 +19611,10 @@ type WebhookPayloadCampaignSubmission = {
|
|
|
19579
19611
|
* The campaign engagement types summed at the latest read. An engagements campaign earns on this count.
|
|
19580
19612
|
*/
|
|
19581
19613
|
engagementsLatest: (number) | null;
|
|
19614
|
+
/**
|
|
19615
|
+
* Views from ads, on YouTube and X. Null elsewhere or before the first read.
|
|
19616
|
+
*/
|
|
19617
|
+
viewsPaid: (number) | null;
|
|
19582
19618
|
flags: Array<{
|
|
19583
19619
|
code: string;
|
|
19584
19620
|
detail: string;
|
|
@@ -66393,7 +66429,7 @@ type ListCampaignSubmissionsData = {
|
|
|
66393
66429
|
campaignId: string;
|
|
66394
66430
|
};
|
|
66395
66431
|
query?: {
|
|
66396
|
-
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
66432
|
+
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
66397
66433
|
limit?: number;
|
|
66398
66434
|
maxScore?: number;
|
|
66399
66435
|
minScore?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6509,6 +6509,10 @@ type CampaignReport = {
|
|
|
6509
6509
|
* Latest view counts.
|
|
6510
6510
|
*/
|
|
6511
6511
|
total: number;
|
|
6512
|
+
/**
|
|
6513
|
+
* Views from ads, on YouTube and X posts.
|
|
6514
|
+
*/
|
|
6515
|
+
paid: number;
|
|
6512
6516
|
};
|
|
6513
6517
|
/**
|
|
6514
6518
|
* The campaign engagement types summed over the same submissions.
|
|
@@ -6620,6 +6624,14 @@ type CampaignSubmission = {
|
|
|
6620
6624
|
* The campaign engagement types summed at the latest read (all four on a views campaign), frozen at the tracking window end like `viewsEligible`. An `engagements` campaign earns on this count.
|
|
6621
6625
|
*/
|
|
6622
6626
|
engagementsLatest: (number) | null;
|
|
6627
|
+
/**
|
|
6628
|
+
* Views from ads the creator ran: YouTube views from the advertising traffic source, X impressions beyond the organic ones. Null on other platforms and before the first read. On an organic-only campaign `viewsEligible` is the latest views minus these.
|
|
6629
|
+
*/
|
|
6630
|
+
viewsPaid: (number) | null;
|
|
6631
|
+
/**
|
|
6632
|
+
* When `viewsPaid` was last read. YouTube refreshes every 6 hours and reports ad views up to 2 days late; X about once a day while the post is under 30 days old.
|
|
6633
|
+
*/
|
|
6634
|
+
paidViewsReadAt: (string) | null;
|
|
6623
6635
|
lastAccruedViews: number;
|
|
6624
6636
|
accruedCents: number;
|
|
6625
6637
|
approvedCents: number;
|
|
@@ -6704,11 +6716,11 @@ type CampaignSubmissionDetail = CampaignSubmission & {
|
|
|
6704
6716
|
}>;
|
|
6705
6717
|
};
|
|
6706
6718
|
type CampaignSubmissionFlag = {
|
|
6707
|
-
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
6719
|
+
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6708
6720
|
detail: string;
|
|
6709
6721
|
raisedAt: string;
|
|
6710
6722
|
};
|
|
6711
|
-
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
6723
|
+
type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
6712
6724
|
/**
|
|
6713
6725
|
* Actions taken on the matched comment itself (comment trigger only; ignored on the
|
|
6714
6726
|
* story-reply and DM doors). They never block or fail the DM: when one cannot run,
|
|
@@ -8493,6 +8505,10 @@ type CreatorCampaignEconomicsCpm = {
|
|
|
8493
8505
|
* With `metric: engagements`, the engagements that count. Missing means all four, and sending it on a views campaign answers 400. YouTube reports likes and comments only, Facebook and Threads have no saves, and Pinterest reports saves only.
|
|
8494
8506
|
*/
|
|
8495
8507
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
8508
|
+
/**
|
|
8509
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
8510
|
+
*/
|
|
8511
|
+
organicViewsOnly?: boolean;
|
|
8496
8512
|
ratePer1kCents: number;
|
|
8497
8513
|
/**
|
|
8498
8514
|
* The count a post must reach before it earns, in the campaign metric (views or engagements).
|
|
@@ -8515,6 +8531,10 @@ type CreatorCampaignEconomicsPool = {
|
|
|
8515
8531
|
type: 'pool';
|
|
8516
8532
|
budgetCents: number;
|
|
8517
8533
|
minViewsToQualify: number;
|
|
8534
|
+
/**
|
|
8535
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
8536
|
+
*/
|
|
8537
|
+
organicViewsOnly?: boolean;
|
|
8518
8538
|
};
|
|
8519
8539
|
/**
|
|
8520
8540
|
* The campaign as a creator sees it: terms, never the budget.
|
|
@@ -8566,6 +8586,10 @@ type CreatorPortalEconomics = {
|
|
|
8566
8586
|
* The engagements that count. Missing means all four.
|
|
8567
8587
|
*/
|
|
8568
8588
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
8589
|
+
/**
|
|
8590
|
+
* Only organic views count; views from ads do not.
|
|
8591
|
+
*/
|
|
8592
|
+
organicViewsOnly?: boolean;
|
|
8569
8593
|
ratePer1kCents: number;
|
|
8570
8594
|
minViewsToEarn: number;
|
|
8571
8595
|
maxPayoutPerClipCents?: number;
|
|
@@ -8577,6 +8601,10 @@ type CreatorPortalEconomics = {
|
|
|
8577
8601
|
type: 'pool';
|
|
8578
8602
|
poolCents: number;
|
|
8579
8603
|
minViewsToQualify: number;
|
|
8604
|
+
/**
|
|
8605
|
+
* Only organic views count; views from ads do not.
|
|
8606
|
+
*/
|
|
8607
|
+
organicViewsOnly?: boolean;
|
|
8580
8608
|
};
|
|
8581
8609
|
type type10 = 'cpm';
|
|
8582
8610
|
type CreatorPortalInvite = {
|
|
@@ -8680,6 +8708,10 @@ type CreatorPortalSubmission = {
|
|
|
8680
8708
|
* The campaign engagement types summed at the latest read. Null until the post is read.
|
|
8681
8709
|
*/
|
|
8682
8710
|
engagements: (number) | null;
|
|
8711
|
+
/**
|
|
8712
|
+
* Views that came from ads the creator ran, on YouTube and X. Null where the platform does not report them or before the first read.
|
|
8713
|
+
*/
|
|
8714
|
+
viewsFromAds: (number) | null;
|
|
8683
8715
|
earnedCents: number;
|
|
8684
8716
|
rejectReason: (string) | null;
|
|
8685
8717
|
/**
|
|
@@ -19579,6 +19611,10 @@ type WebhookPayloadCampaignSubmission = {
|
|
|
19579
19611
|
* The campaign engagement types summed at the latest read. An engagements campaign earns on this count.
|
|
19580
19612
|
*/
|
|
19581
19613
|
engagementsLatest: (number) | null;
|
|
19614
|
+
/**
|
|
19615
|
+
* Views from ads, on YouTube and X. Null elsewhere or before the first read.
|
|
19616
|
+
*/
|
|
19617
|
+
viewsPaid: (number) | null;
|
|
19582
19618
|
flags: Array<{
|
|
19583
19619
|
code: string;
|
|
19584
19620
|
detail: string;
|
|
@@ -66393,7 +66429,7 @@ type ListCampaignSubmissionsData = {
|
|
|
66393
66429
|
campaignId: string;
|
|
66394
66430
|
};
|
|
66395
66431
|
query?: {
|
|
66396
|
-
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
66432
|
+
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
66397
66433
|
limit?: number;
|
|
66398
66434
|
maxScore?: number;
|
|
66399
66435
|
minScore?: number;
|
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.1414",
|
|
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.1414",
|
|
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
|
@@ -4423,6 +4423,10 @@ export type CampaignReport = {
|
|
|
4423
4423
|
* Latest view counts.
|
|
4424
4424
|
*/
|
|
4425
4425
|
total: number;
|
|
4426
|
+
/**
|
|
4427
|
+
* Views from ads, on YouTube and X posts.
|
|
4428
|
+
*/
|
|
4429
|
+
paid: number;
|
|
4426
4430
|
};
|
|
4427
4431
|
/**
|
|
4428
4432
|
* The campaign engagement types summed over the same submissions.
|
|
@@ -4538,6 +4542,14 @@ export type CampaignSubmission = {
|
|
|
4538
4542
|
* The campaign engagement types summed at the latest read (all four on a views campaign), frozen at the tracking window end like `viewsEligible`. An `engagements` campaign earns on this count.
|
|
4539
4543
|
*/
|
|
4540
4544
|
engagementsLatest: (number) | null;
|
|
4545
|
+
/**
|
|
4546
|
+
* Views from ads the creator ran: YouTube views from the advertising traffic source, X impressions beyond the organic ones. Null on other platforms and before the first read. On an organic-only campaign `viewsEligible` is the latest views minus these.
|
|
4547
|
+
*/
|
|
4548
|
+
viewsPaid: (number) | null;
|
|
4549
|
+
/**
|
|
4550
|
+
* When `viewsPaid` was last read. YouTube refreshes every 6 hours and reports ad views up to 2 days late; X about once a day while the post is under 30 days old.
|
|
4551
|
+
*/
|
|
4552
|
+
paidViewsReadAt: (string) | null;
|
|
4541
4553
|
lastAccruedViews: number;
|
|
4542
4554
|
accruedCents: number;
|
|
4543
4555
|
approvedCents: number;
|
|
@@ -4627,12 +4639,12 @@ export type CampaignSubmissionDetail = CampaignSubmission & {
|
|
|
4627
4639
|
};
|
|
4628
4640
|
|
|
4629
4641
|
export type CampaignSubmissionFlag = {
|
|
4630
|
-
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
4642
|
+
code: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
4631
4643
|
detail: string;
|
|
4632
4644
|
raisedAt: string;
|
|
4633
4645
|
};
|
|
4634
4646
|
|
|
4635
|
-
export type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
4647
|
+
export type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
4636
4648
|
|
|
4637
4649
|
/**
|
|
4638
4650
|
* Actions taken on the matched comment itself (comment trigger only; ignored on the
|
|
@@ -6505,6 +6517,10 @@ export type CreatorCampaignEconomicsCpm = {
|
|
|
6505
6517
|
* With `metric: engagements`, the engagements that count. Missing means all four, and sending it on a views campaign answers 400. YouTube reports likes and comments only, Facebook and Threads have no saves, and Pinterest reports saves only.
|
|
6506
6518
|
*/
|
|
6507
6519
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
6520
|
+
/**
|
|
6521
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
6522
|
+
*/
|
|
6523
|
+
organicViewsOnly?: boolean;
|
|
6508
6524
|
ratePer1kCents: number;
|
|
6509
6525
|
/**
|
|
6510
6526
|
* The count a post must reach before it earns, in the campaign metric (views or engagements).
|
|
@@ -6530,6 +6546,10 @@ export type CreatorCampaignEconomicsPool = {
|
|
|
6530
6546
|
type: 'pool';
|
|
6531
6547
|
budgetCents: number;
|
|
6532
6548
|
minViewsToQualify: number;
|
|
6549
|
+
/**
|
|
6550
|
+
* Count only organic views: views from ads the creator ran do not earn. Every campaign platform must be YouTube or X, which report ad views per post, or the request answers 400. A post earns nothing until its ad views were first read.
|
|
6551
|
+
*/
|
|
6552
|
+
organicViewsOnly?: boolean;
|
|
6533
6553
|
};
|
|
6534
6554
|
|
|
6535
6555
|
/**
|
|
@@ -6583,6 +6603,10 @@ export type CreatorPortalEconomics = {
|
|
|
6583
6603
|
* The engagements that count. Missing means all four.
|
|
6584
6604
|
*/
|
|
6585
6605
|
engagementTypes?: Array<('likes' | 'comments' | 'shares' | 'saves')>;
|
|
6606
|
+
/**
|
|
6607
|
+
* Only organic views count; views from ads do not.
|
|
6608
|
+
*/
|
|
6609
|
+
organicViewsOnly?: boolean;
|
|
6586
6610
|
ratePer1kCents: number;
|
|
6587
6611
|
minViewsToEarn: number;
|
|
6588
6612
|
maxPayoutPerClipCents?: number;
|
|
@@ -6594,6 +6618,10 @@ export type CreatorPortalEconomics = {
|
|
|
6594
6618
|
type: 'pool';
|
|
6595
6619
|
poolCents: number;
|
|
6596
6620
|
minViewsToQualify: number;
|
|
6621
|
+
/**
|
|
6622
|
+
* Only organic views count; views from ads do not.
|
|
6623
|
+
*/
|
|
6624
|
+
organicViewsOnly?: boolean;
|
|
6597
6625
|
};
|
|
6598
6626
|
|
|
6599
6627
|
export type type10 = 'cpm';
|
|
@@ -6707,6 +6735,10 @@ export type CreatorPortalSubmission = {
|
|
|
6707
6735
|
* The campaign engagement types summed at the latest read. Null until the post is read.
|
|
6708
6736
|
*/
|
|
6709
6737
|
engagements: (number) | null;
|
|
6738
|
+
/**
|
|
6739
|
+
* Views that came from ads the creator ran, on YouTube and X. Null where the platform does not report them or before the first read.
|
|
6740
|
+
*/
|
|
6741
|
+
viewsFromAds: (number) | null;
|
|
6710
6742
|
earnedCents: number;
|
|
6711
6743
|
rejectReason: (string) | null;
|
|
6712
6744
|
/**
|
|
@@ -18093,6 +18125,10 @@ export type WebhookPayloadCampaignSubmission = {
|
|
|
18093
18125
|
* The campaign engagement types summed at the latest read. An engagements campaign earns on this count.
|
|
18094
18126
|
*/
|
|
18095
18127
|
engagementsLatest: (number) | null;
|
|
18128
|
+
/**
|
|
18129
|
+
* Views from ads, on YouTube and X. Null elsewhere or before the first read.
|
|
18130
|
+
*/
|
|
18131
|
+
viewsPaid: (number) | null;
|
|
18096
18132
|
flags: Array<{
|
|
18097
18133
|
code: string;
|
|
18098
18134
|
detail: string;
|
|
@@ -68412,7 +68448,7 @@ export type ListCampaignSubmissionsData = {
|
|
|
68412
68448
|
campaignId: string;
|
|
68413
68449
|
};
|
|
68414
68450
|
query?: {
|
|
68415
|
-
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap';
|
|
68451
|
+
flag?: 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
|
|
68416
68452
|
limit?: number;
|
|
68417
68453
|
maxScore?: number;
|
|
68418
68454
|
minScore?: number;
|