@sonordev/contracts 2.28.0 → 2.29.0
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/CHANGELOG.md +9 -0
- package/README.md +135 -0
- package/dist/delegated-command.d.ts +271 -0
- package/dist/delegated-command.js +2224 -0
- package/dist/delegated-command.mjs +2197 -0
- package/dist/resonance-confirmation.d.ts +33 -11
- package/dist/resonance-confirmation.js +61 -8
- package/dist/resonance-confirmation.mjs +56 -9
- package/dist/resonance.d.ts +993 -0
- package/dist/resonance.js +820 -528
- package/dist/resonance.mjs +803 -529
- package/dist/wire-native-cas.d.ts +7 -0
- package/package.json +6 -1
package/dist/resonance.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { RESONANCE_ATTRIBUTION_MODEL, RESONANCE_SOURCE_MARKER_PARAMETER, RESONANCE_SUBJECT_HEADER } from './resonance-constants';
|
|
2
|
+
export { parseNativeCasTimestamp, NATIVE_CAS_TIMESTAMP_JSON_SCHEMA, NativeCasTimestampValidationError } from './wire-native-cas';
|
|
2
3
|
import { type Value, type Field } from './wire-schema';
|
|
3
4
|
export declare const RESONANCE_SCHEMA_VERSION: 1;
|
|
4
5
|
export declare const MONEY_EXPONENT: 6;
|
|
@@ -4567,6 +4568,998 @@ export type ResonanceCommandPrepareResponse = Value<typeof commandPreparation>;
|
|
|
4567
4568
|
/** Preparation describes an immutable command; it does not approve, claim or execute it. */
|
|
4568
4569
|
export declare function parseResonanceCommandPrepareResponse(v: unknown): ResonanceCommandPrepareResponse;
|
|
4569
4570
|
export declare const RESONANCE_COMMAND_PREPARE_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4571
|
+
declare const preparationLookupRequest: Field<{
|
|
4572
|
+
expectedRevision: number;
|
|
4573
|
+
idempotencyKey: string;
|
|
4574
|
+
} & {}>;
|
|
4575
|
+
declare const preparationLookupResponse: Field<{
|
|
4576
|
+
schemaVersion: 1;
|
|
4577
|
+
projectId: string;
|
|
4578
|
+
campaignId: string;
|
|
4579
|
+
request: {
|
|
4580
|
+
expectedRevision: number;
|
|
4581
|
+
idempotencyKey: string;
|
|
4582
|
+
} & {};
|
|
4583
|
+
state: "cancelled" | "not_found" | "recovery_required" | "rejected" | "succeeded" | "working";
|
|
4584
|
+
currentRevision: number;
|
|
4585
|
+
operation: ({
|
|
4586
|
+
operationId: string;
|
|
4587
|
+
preparedPlanId: string;
|
|
4588
|
+
executionState: "cancelled" | "claimed" | "dispatched" | "rejected" | "reserved" | "succeeded" | "uncertain";
|
|
4589
|
+
createdAt: string;
|
|
4590
|
+
hasAdDispatch: boolean;
|
|
4591
|
+
artifactCount: number;
|
|
4592
|
+
completedArtifactCount: number;
|
|
4593
|
+
originalActorMatches: boolean;
|
|
4594
|
+
originalPrincipalMatches: boolean;
|
|
4595
|
+
} & {}) | null;
|
|
4596
|
+
preparedPlan: ({
|
|
4597
|
+
schemaVersion: 1;
|
|
4598
|
+
id: string;
|
|
4599
|
+
campaignId: string;
|
|
4600
|
+
projectId: string;
|
|
4601
|
+
expectedRevision: number;
|
|
4602
|
+
definitionDigest: string;
|
|
4603
|
+
reviewDigest: string;
|
|
4604
|
+
definition: {
|
|
4605
|
+
schemaVersion: 1;
|
|
4606
|
+
projectId: string;
|
|
4607
|
+
name: string;
|
|
4608
|
+
slug: string;
|
|
4609
|
+
sites: string[];
|
|
4610
|
+
objective: {
|
|
4611
|
+
source: {
|
|
4612
|
+
projectId: string;
|
|
4613
|
+
site: string;
|
|
4614
|
+
kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
|
|
4615
|
+
id: string;
|
|
4616
|
+
revision: string;
|
|
4617
|
+
} & {};
|
|
4618
|
+
measurementRevision: string;
|
|
4619
|
+
countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
|
|
4620
|
+
attributionWindowDays: number;
|
|
4621
|
+
maturityDelaySeconds: number;
|
|
4622
|
+
qualificationRuleRef: ({
|
|
4623
|
+
projectId: string;
|
|
4624
|
+
site: string;
|
|
4625
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4626
|
+
id: string;
|
|
4627
|
+
revision: string;
|
|
4628
|
+
digest: string;
|
|
4629
|
+
} & {}) | null;
|
|
4630
|
+
} & {
|
|
4631
|
+
qualificationRule?: ({
|
|
4632
|
+
schemaVersion: 1;
|
|
4633
|
+
semantics: "current_at_observation";
|
|
4634
|
+
positiveStageKeys: string[];
|
|
4635
|
+
finalNegativeStageKeys: string[];
|
|
4636
|
+
pendingStageKeys: string[];
|
|
4637
|
+
existingContactPolicy: "include_source_cohort";
|
|
4638
|
+
attributionModel: "first_party_last_touch_marker_v1";
|
|
4639
|
+
} & {}) | undefined;
|
|
4640
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
4641
|
+
};
|
|
4642
|
+
brandRef: {
|
|
4643
|
+
projectId: string;
|
|
4644
|
+
site: string;
|
|
4645
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4646
|
+
id: string;
|
|
4647
|
+
revision: string;
|
|
4648
|
+
digest: string;
|
|
4649
|
+
} & {};
|
|
4650
|
+
creativeRefs: ({
|
|
4651
|
+
id: string;
|
|
4652
|
+
assetRef: {
|
|
4653
|
+
projectId: string;
|
|
4654
|
+
site: string;
|
|
4655
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4656
|
+
id: string;
|
|
4657
|
+
revision: string;
|
|
4658
|
+
digest: string;
|
|
4659
|
+
} & {};
|
|
4660
|
+
preparedArtifactRef: ({
|
|
4661
|
+
projectId: string;
|
|
4662
|
+
site: string;
|
|
4663
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4664
|
+
id: string;
|
|
4665
|
+
revision: string;
|
|
4666
|
+
digest: string;
|
|
4667
|
+
} & {}) | null;
|
|
4668
|
+
headline: string;
|
|
4669
|
+
body: string;
|
|
4670
|
+
callToAction: string;
|
|
4671
|
+
cropDigest: string;
|
|
4672
|
+
} & {})[];
|
|
4673
|
+
destinations: (({
|
|
4674
|
+
projectId: string;
|
|
4675
|
+
site: string;
|
|
4676
|
+
kind: "funnel";
|
|
4677
|
+
id: string;
|
|
4678
|
+
path: string;
|
|
4679
|
+
funnelRef: {
|
|
4680
|
+
projectId: string;
|
|
4681
|
+
site: string;
|
|
4682
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4683
|
+
id: string;
|
|
4684
|
+
revision: string;
|
|
4685
|
+
digest: string;
|
|
4686
|
+
} & {};
|
|
4687
|
+
formSlug: string;
|
|
4688
|
+
installationRevision: string;
|
|
4689
|
+
} & {}) | ({
|
|
4690
|
+
projectId: string;
|
|
4691
|
+
site: string;
|
|
4692
|
+
kind: "existing_page";
|
|
4693
|
+
id: string;
|
|
4694
|
+
path: string;
|
|
4695
|
+
pageRevision: string;
|
|
4696
|
+
evidenceDigest: string;
|
|
4697
|
+
} & {}))[];
|
|
4698
|
+
channels: (({
|
|
4699
|
+
projectId: string;
|
|
4700
|
+
site: string;
|
|
4701
|
+
id: string;
|
|
4702
|
+
destinationId: string;
|
|
4703
|
+
creativeIds: string[];
|
|
4704
|
+
localCampaignKey: string;
|
|
4705
|
+
kind: "google_search";
|
|
4706
|
+
provider: "google_ads";
|
|
4707
|
+
accountBindingId: string;
|
|
4708
|
+
capabilityRevision: string;
|
|
4709
|
+
allocation: {
|
|
4710
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4711
|
+
amountMicros: string;
|
|
4712
|
+
} & {};
|
|
4713
|
+
budgetMode: "average_daily" | "campaign_total";
|
|
4714
|
+
keywords: ({
|
|
4715
|
+
text: string;
|
|
4716
|
+
match: "broad" | "exact" | "phrase";
|
|
4717
|
+
} & {})[];
|
|
4718
|
+
negativeKeywords: string[];
|
|
4719
|
+
bidding: ({
|
|
4720
|
+
strategy: "maximize_conversions";
|
|
4721
|
+
} & {}) | ({
|
|
4722
|
+
strategy: "target_cpa";
|
|
4723
|
+
target: {
|
|
4724
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4725
|
+
amountMicros: string;
|
|
4726
|
+
} & {};
|
|
4727
|
+
} & {});
|
|
4728
|
+
locationIds: string[];
|
|
4729
|
+
network: {
|
|
4730
|
+
googleSearch: true;
|
|
4731
|
+
searchPartners: boolean;
|
|
4732
|
+
displayExpansion: false;
|
|
4733
|
+
} & {};
|
|
4734
|
+
geoPresence: "presence" | "presence_or_interest";
|
|
4735
|
+
excludedLocationIds: string[];
|
|
4736
|
+
adGroups: ({
|
|
4737
|
+
localKey: string;
|
|
4738
|
+
ads: ({
|
|
4739
|
+
localKey: string;
|
|
4740
|
+
creativeId: string;
|
|
4741
|
+
headlines: string[];
|
|
4742
|
+
descriptions: string[];
|
|
4743
|
+
} & {})[];
|
|
4744
|
+
} & {})[];
|
|
4745
|
+
assetAutomation: "disabled";
|
|
4746
|
+
} & {}) | ({
|
|
4747
|
+
projectId: string;
|
|
4748
|
+
site: string;
|
|
4749
|
+
id: string;
|
|
4750
|
+
destinationId: string;
|
|
4751
|
+
creativeIds: string[];
|
|
4752
|
+
localCampaignKey: string;
|
|
4753
|
+
kind: "meta_retargeting";
|
|
4754
|
+
provider: "meta_ads";
|
|
4755
|
+
accountBindingId: string;
|
|
4756
|
+
capabilityRevision: string;
|
|
4757
|
+
allocation: {
|
|
4758
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4759
|
+
amountMicros: string;
|
|
4760
|
+
} & {};
|
|
4761
|
+
budgetMode: "daily" | "lifetime";
|
|
4762
|
+
audienceRuleRefs: ({
|
|
4763
|
+
projectId: string;
|
|
4764
|
+
site: string;
|
|
4765
|
+
id: string;
|
|
4766
|
+
revision: string;
|
|
4767
|
+
policyRevision: string;
|
|
4768
|
+
retentionDays: number;
|
|
4769
|
+
exclusionRuleIds: string[];
|
|
4770
|
+
consentPurpose: "ad_personalization";
|
|
4771
|
+
} & {
|
|
4772
|
+
minDaysSinceVisit?: number | undefined;
|
|
4773
|
+
})[];
|
|
4774
|
+
objective: "OUTCOME_LEADS" | "OUTCOME_SALES" | "OUTCOME_TRAFFIC";
|
|
4775
|
+
pageRef: {
|
|
4776
|
+
connectionId: string;
|
|
4777
|
+
externalId: string;
|
|
4778
|
+
revision: string;
|
|
4779
|
+
} & {};
|
|
4780
|
+
instagramRef: ({
|
|
4781
|
+
connectionId: string;
|
|
4782
|
+
externalId: string;
|
|
4783
|
+
revision: string;
|
|
4784
|
+
} & {}) | null;
|
|
4785
|
+
datasetRef: {
|
|
4786
|
+
id: string;
|
|
4787
|
+
revision: string;
|
|
4788
|
+
} & {};
|
|
4789
|
+
conversionGoalRef: {
|
|
4790
|
+
projectId: string;
|
|
4791
|
+
site: string;
|
|
4792
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4793
|
+
id: string;
|
|
4794
|
+
revision: string;
|
|
4795
|
+
digest: string;
|
|
4796
|
+
} & {};
|
|
4797
|
+
optimization: "landing_page_views" | "lead" | "purchase";
|
|
4798
|
+
billing: "impressions";
|
|
4799
|
+
bid: ({
|
|
4800
|
+
strategy: "lowest_cost";
|
|
4801
|
+
} & {}) | ({
|
|
4802
|
+
strategy: "cost_cap";
|
|
4803
|
+
cap: {
|
|
4804
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4805
|
+
amountMicros: string;
|
|
4806
|
+
} & {};
|
|
4807
|
+
} & {});
|
|
4808
|
+
localAdSetKey: string;
|
|
4809
|
+
localAdKey: string;
|
|
4810
|
+
budgetOwner: "adset" | "campaign";
|
|
4811
|
+
specialCategories: ("employment" | "financial_products_services" | "housing")[];
|
|
4812
|
+
countryCodes: string[];
|
|
4813
|
+
placement: "automatic";
|
|
4814
|
+
} & {
|
|
4815
|
+
ageConstraint?: ({
|
|
4816
|
+
mode: "bounded";
|
|
4817
|
+
min: number;
|
|
4818
|
+
max: number;
|
|
4819
|
+
} & {}) | ({
|
|
4820
|
+
mode: "omitted";
|
|
4821
|
+
} & {}) | ({
|
|
4822
|
+
mode: "provider_managed";
|
|
4823
|
+
} & {}) | undefined;
|
|
4824
|
+
channelGroup?: ({
|
|
4825
|
+
key: string;
|
|
4826
|
+
label: string;
|
|
4827
|
+
} & {}) | undefined;
|
|
4828
|
+
property?: ({
|
|
4829
|
+
key: string;
|
|
4830
|
+
label: string;
|
|
4831
|
+
} & {}) | undefined;
|
|
4832
|
+
tier?: ({
|
|
4833
|
+
label: string;
|
|
4834
|
+
} & {}) | undefined;
|
|
4835
|
+
primaryText?: string | undefined;
|
|
4836
|
+
convertersAcknowledged?: true | undefined;
|
|
4837
|
+
}) | ({
|
|
4838
|
+
projectId: string;
|
|
4839
|
+
site: string;
|
|
4840
|
+
id: string;
|
|
4841
|
+
destinationId: string;
|
|
4842
|
+
creativeIds: string[];
|
|
4843
|
+
kind: "broadcast" | "funnel" | "outreach";
|
|
4844
|
+
resourceRef: {
|
|
4845
|
+
projectId: string;
|
|
4846
|
+
site: string;
|
|
4847
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4848
|
+
id: string;
|
|
4849
|
+
revision: string;
|
|
4850
|
+
digest: string;
|
|
4851
|
+
} & {};
|
|
4852
|
+
} & {}))[];
|
|
4853
|
+
experimentRefs: ({
|
|
4854
|
+
projectId: string;
|
|
4855
|
+
site: string;
|
|
4856
|
+
id: string;
|
|
4857
|
+
revision: number;
|
|
4858
|
+
digest: string;
|
|
4859
|
+
} & {})[];
|
|
4860
|
+
budget: {
|
|
4861
|
+
total: {
|
|
4862
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4863
|
+
amountMicros: string;
|
|
4864
|
+
} & {};
|
|
4865
|
+
dailyAllocationCeiling: ({
|
|
4866
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4867
|
+
amountMicros: string;
|
|
4868
|
+
} & {}) | null;
|
|
4869
|
+
reserveMargin: {
|
|
4870
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4871
|
+
amountMicros: string;
|
|
4872
|
+
} & {};
|
|
4873
|
+
startAt: string;
|
|
4874
|
+
endAt: string;
|
|
4875
|
+
timeZone: string;
|
|
4876
|
+
maxChange: {
|
|
4877
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4878
|
+
amountMicros: string;
|
|
4879
|
+
} & {};
|
|
4880
|
+
maxChangeBasisPoints: number;
|
|
4881
|
+
cooldownSeconds: number;
|
|
4882
|
+
} & {};
|
|
4883
|
+
optimization: {
|
|
4884
|
+
enabled: boolean;
|
|
4885
|
+
policy: ({
|
|
4886
|
+
schemaVersion: 1;
|
|
4887
|
+
sourceRef: ({
|
|
4888
|
+
projectId: string;
|
|
4889
|
+
site: string;
|
|
4890
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4891
|
+
id: string;
|
|
4892
|
+
revision: string;
|
|
4893
|
+
digest: string;
|
|
4894
|
+
} & {}) | null;
|
|
4895
|
+
decisionKind: "observational_allocation";
|
|
4896
|
+
eligibleGoal: "qualified_lead";
|
|
4897
|
+
algorithm: "mature_cpql_conserved_transfer_v1";
|
|
4898
|
+
minimumMatureExposures: number;
|
|
4899
|
+
minimumMatureOutcomes: number;
|
|
4900
|
+
minimumCoverageBasisPoints: number;
|
|
4901
|
+
maxEvidenceAgeSeconds: number;
|
|
4902
|
+
maturityDelaySeconds: number;
|
|
4903
|
+
cooldownSeconds: number;
|
|
4904
|
+
donorTransferBasisPoints: number;
|
|
4905
|
+
maxUncertaintyBasisPoints: number;
|
|
4906
|
+
uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
|
|
4907
|
+
attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
|
|
4908
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
4909
|
+
} & {}) | ({
|
|
4910
|
+
schemaVersion: 1;
|
|
4911
|
+
sourceRef: ({
|
|
4912
|
+
projectId: string;
|
|
4913
|
+
site: string;
|
|
4914
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4915
|
+
id: string;
|
|
4916
|
+
revision: string;
|
|
4917
|
+
digest: string;
|
|
4918
|
+
} & {}) | null;
|
|
4919
|
+
decisionKind: "observational_allocation";
|
|
4920
|
+
eligibleGoal: "qualified_lead";
|
|
4921
|
+
minimumMatureExposures: number;
|
|
4922
|
+
minimumMatureOutcomes: number;
|
|
4923
|
+
minimumCoverageBasisPoints: number;
|
|
4924
|
+
maxEvidenceAgeSeconds: number;
|
|
4925
|
+
maturityDelaySeconds: number;
|
|
4926
|
+
cooldownSeconds: number;
|
|
4927
|
+
donorTransferBasisPoints: number;
|
|
4928
|
+
maxUncertaintyBasisPoints: number;
|
|
4929
|
+
uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
|
|
4930
|
+
attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
|
|
4931
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
4932
|
+
algorithm: "reported_cpql_conserved_transfer_v1";
|
|
4933
|
+
costBasis: "provider_reported_snapshot_v1";
|
|
4934
|
+
costRevisionRisk: "accepted_provisional";
|
|
4935
|
+
readClockKind: "sql_before_provider_read_lower_bound_v1";
|
|
4936
|
+
} & {}) | ({
|
|
4937
|
+
schemaVersion: 1;
|
|
4938
|
+
algorithm: "finite_meta_candidates_v1";
|
|
4939
|
+
decisionKind: "preapproved_candidate_operation";
|
|
4940
|
+
eligibleGoal: "qualified_lead";
|
|
4941
|
+
sourceRef: ({
|
|
4942
|
+
projectId: string;
|
|
4943
|
+
site: string;
|
|
4944
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4945
|
+
id: string;
|
|
4946
|
+
revision: string;
|
|
4947
|
+
digest: string;
|
|
4948
|
+
} & {}) | null;
|
|
4949
|
+
candidateChannelIds: string[];
|
|
4950
|
+
selection: {
|
|
4951
|
+
kind: "fixed_reviewed_order";
|
|
4952
|
+
candidateOrder: string[];
|
|
4953
|
+
eligibilitySchedule: ({
|
|
4954
|
+
channelId: string;
|
|
4955
|
+
notBefore: string;
|
|
4956
|
+
notAfter: string;
|
|
4957
|
+
} & {})[];
|
|
4958
|
+
} & {};
|
|
4959
|
+
allowedActions: ("activate_held" | "materialize_and_activate" | "pause_candidate")[];
|
|
4960
|
+
maxConcurrentCandidates: number;
|
|
4961
|
+
maxActivationsPerCandidate: 1;
|
|
4962
|
+
totalExplorationCap: {
|
|
4963
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4964
|
+
amountMicros: string;
|
|
4965
|
+
} & {};
|
|
4966
|
+
measurementGuard: {
|
|
4967
|
+
sourceRef: {
|
|
4968
|
+
projectId: string;
|
|
4969
|
+
site: string;
|
|
4970
|
+
kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
|
|
4971
|
+
id: string;
|
|
4972
|
+
revision: string;
|
|
4973
|
+
} & {};
|
|
4974
|
+
qualificationRuleRef: {
|
|
4975
|
+
projectId: string;
|
|
4976
|
+
site: string;
|
|
4977
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
4978
|
+
id: string;
|
|
4979
|
+
revision: string;
|
|
4980
|
+
digest: string;
|
|
4981
|
+
} & {};
|
|
4982
|
+
attributionModel: "first_party_last_touch_marker_v1";
|
|
4983
|
+
maturityDelaySeconds: number;
|
|
4984
|
+
minimumCoverageBasisPoints: number;
|
|
4985
|
+
maxEvidenceAgeSeconds: number;
|
|
4986
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
4987
|
+
} & {};
|
|
4988
|
+
performanceDecisionPolicy: null;
|
|
4989
|
+
stopRules: ("candidate_identity_or_settings_drift" | "exploration_cap" | "flight_end" | "kill" | "policy_or_mandate_expiry" | "required_tracking_unavailable_or_stale" | "source_or_consent_invalid" | "unknown_effect")[];
|
|
4990
|
+
expiresAt: string;
|
|
4991
|
+
} & {});
|
|
4992
|
+
stopLoss: {
|
|
4993
|
+
confirmedSpend: {
|
|
4994
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4995
|
+
amountMicros: string;
|
|
4996
|
+
} & {};
|
|
4997
|
+
unreconciledExposure: {
|
|
4998
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
4999
|
+
amountMicros: string;
|
|
5000
|
+
} & {};
|
|
5001
|
+
} & {};
|
|
5002
|
+
} & {};
|
|
5003
|
+
} & {};
|
|
5004
|
+
resolvedEvidencePolicy: ({
|
|
5005
|
+
schemaVersion: 1;
|
|
5006
|
+
sourceRef: ({
|
|
5007
|
+
projectId: string;
|
|
5008
|
+
site: string;
|
|
5009
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5010
|
+
id: string;
|
|
5011
|
+
revision: string;
|
|
5012
|
+
digest: string;
|
|
5013
|
+
} & {}) | null;
|
|
5014
|
+
decisionKind: "observational_allocation";
|
|
5015
|
+
eligibleGoal: "qualified_lead";
|
|
5016
|
+
algorithm: "mature_cpql_conserved_transfer_v1";
|
|
5017
|
+
minimumMatureExposures: number;
|
|
5018
|
+
minimumMatureOutcomes: number;
|
|
5019
|
+
minimumCoverageBasisPoints: number;
|
|
5020
|
+
maxEvidenceAgeSeconds: number;
|
|
5021
|
+
maturityDelaySeconds: number;
|
|
5022
|
+
cooldownSeconds: number;
|
|
5023
|
+
donorTransferBasisPoints: number;
|
|
5024
|
+
maxUncertaintyBasisPoints: number;
|
|
5025
|
+
uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
|
|
5026
|
+
attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
|
|
5027
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
5028
|
+
} & {}) | ({
|
|
5029
|
+
schemaVersion: 1;
|
|
5030
|
+
sourceRef: ({
|
|
5031
|
+
projectId: string;
|
|
5032
|
+
site: string;
|
|
5033
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5034
|
+
id: string;
|
|
5035
|
+
revision: string;
|
|
5036
|
+
digest: string;
|
|
5037
|
+
} & {}) | null;
|
|
5038
|
+
decisionKind: "observational_allocation";
|
|
5039
|
+
eligibleGoal: "qualified_lead";
|
|
5040
|
+
minimumMatureExposures: number;
|
|
5041
|
+
minimumMatureOutcomes: number;
|
|
5042
|
+
minimumCoverageBasisPoints: number;
|
|
5043
|
+
maxEvidenceAgeSeconds: number;
|
|
5044
|
+
maturityDelaySeconds: number;
|
|
5045
|
+
cooldownSeconds: number;
|
|
5046
|
+
donorTransferBasisPoints: number;
|
|
5047
|
+
maxUncertaintyBasisPoints: number;
|
|
5048
|
+
uncertaintyMethod: "observational_cpql_missing_outcome_bound_v1";
|
|
5049
|
+
attributionModel: "first_party_last_touch_marker_v1" | "first_party_source" | "first_touch" | "last_touch" | "provider_reported";
|
|
5050
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
5051
|
+
algorithm: "reported_cpql_conserved_transfer_v1";
|
|
5052
|
+
costBasis: "provider_reported_snapshot_v1";
|
|
5053
|
+
costRevisionRisk: "accepted_provisional";
|
|
5054
|
+
readClockKind: "sql_before_provider_read_lower_bound_v1";
|
|
5055
|
+
} & {}) | ({
|
|
5056
|
+
schemaVersion: 1;
|
|
5057
|
+
algorithm: "finite_meta_candidates_v1";
|
|
5058
|
+
decisionKind: "preapproved_candidate_operation";
|
|
5059
|
+
eligibleGoal: "qualified_lead";
|
|
5060
|
+
sourceRef: ({
|
|
5061
|
+
projectId: string;
|
|
5062
|
+
site: string;
|
|
5063
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5064
|
+
id: string;
|
|
5065
|
+
revision: string;
|
|
5066
|
+
digest: string;
|
|
5067
|
+
} & {}) | null;
|
|
5068
|
+
candidateChannelIds: string[];
|
|
5069
|
+
selection: {
|
|
5070
|
+
kind: "fixed_reviewed_order";
|
|
5071
|
+
candidateOrder: string[];
|
|
5072
|
+
eligibilitySchedule: ({
|
|
5073
|
+
channelId: string;
|
|
5074
|
+
notBefore: string;
|
|
5075
|
+
notAfter: string;
|
|
5076
|
+
} & {})[];
|
|
5077
|
+
} & {};
|
|
5078
|
+
allowedActions: ("activate_held" | "materialize_and_activate" | "pause_candidate")[];
|
|
5079
|
+
maxConcurrentCandidates: number;
|
|
5080
|
+
maxActivationsPerCandidate: 1;
|
|
5081
|
+
totalExplorationCap: {
|
|
5082
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
5083
|
+
amountMicros: string;
|
|
5084
|
+
} & {};
|
|
5085
|
+
measurementGuard: {
|
|
5086
|
+
sourceRef: {
|
|
5087
|
+
projectId: string;
|
|
5088
|
+
site: string;
|
|
5089
|
+
kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
|
|
5090
|
+
id: string;
|
|
5091
|
+
revision: string;
|
|
5092
|
+
} & {};
|
|
5093
|
+
qualificationRuleRef: {
|
|
5094
|
+
projectId: string;
|
|
5095
|
+
site: string;
|
|
5096
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5097
|
+
id: string;
|
|
5098
|
+
revision: string;
|
|
5099
|
+
digest: string;
|
|
5100
|
+
} & {};
|
|
5101
|
+
attributionModel: "first_party_last_touch_marker_v1";
|
|
5102
|
+
maturityDelaySeconds: number;
|
|
5103
|
+
minimumCoverageBasisPoints: number;
|
|
5104
|
+
maxEvidenceAgeSeconds: number;
|
|
5105
|
+
requiredChecks: ("assignment" | "dedupe" | "power" | "qualification" | "tracking" | "uncertainty")[];
|
|
5106
|
+
} & {};
|
|
5107
|
+
performanceDecisionPolicy: null;
|
|
5108
|
+
stopRules: ("candidate_identity_or_settings_drift" | "exploration_cap" | "flight_end" | "kill" | "policy_or_mandate_expiry" | "required_tracking_unavailable_or_stale" | "source_or_consent_invalid" | "unknown_effect")[];
|
|
5109
|
+
expiresAt: string;
|
|
5110
|
+
} & {});
|
|
5111
|
+
resolvedQualificationRule: ({
|
|
5112
|
+
schemaVersion: 1;
|
|
5113
|
+
semantics: "current_at_observation";
|
|
5114
|
+
positiveStageKeys: string[];
|
|
5115
|
+
finalNegativeStageKeys: string[];
|
|
5116
|
+
pendingStageKeys: string[];
|
|
5117
|
+
existingContactPolicy: "include_source_cohort";
|
|
5118
|
+
ref: {
|
|
5119
|
+
projectId: string;
|
|
5120
|
+
site: string;
|
|
5121
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5122
|
+
id: string;
|
|
5123
|
+
revision: string;
|
|
5124
|
+
digest: string;
|
|
5125
|
+
} & {};
|
|
5126
|
+
crmVariant: string;
|
|
5127
|
+
ladderSnapshot: ({
|
|
5128
|
+
id: string | null;
|
|
5129
|
+
stage_key: string;
|
|
5130
|
+
semantic_key: string | null;
|
|
5131
|
+
is_won: boolean;
|
|
5132
|
+
is_lost: boolean;
|
|
5133
|
+
} & {})[];
|
|
5134
|
+
eligibleFormIds: string[];
|
|
5135
|
+
attribution: {
|
|
5136
|
+
model: "first_party_last_touch_marker_v1";
|
|
5137
|
+
resolverRevision: 1;
|
|
5138
|
+
} & {};
|
|
5139
|
+
cohort: {
|
|
5140
|
+
startAt: string;
|
|
5141
|
+
endAt: string;
|
|
5142
|
+
maturityDelaySeconds: number;
|
|
5143
|
+
} & {};
|
|
5144
|
+
} & {
|
|
5145
|
+
eligibleBookingTypeIds?: string[] | undefined;
|
|
5146
|
+
}) | null;
|
|
5147
|
+
accounts: ({
|
|
5148
|
+
id: string;
|
|
5149
|
+
projectId: string;
|
|
5150
|
+
connectionId: string;
|
|
5151
|
+
provider: "google_ads" | "meta_ads";
|
|
5152
|
+
externalAccountId: string;
|
|
5153
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
5154
|
+
timeZone: string;
|
|
5155
|
+
connectionRevision: string;
|
|
5156
|
+
capabilityRevision: string;
|
|
5157
|
+
observedAt: string;
|
|
5158
|
+
expiresAt: string;
|
|
5159
|
+
advertiserState: "blocked" | "eligible" | "unknown";
|
|
5160
|
+
operations: ({
|
|
5161
|
+
operation: "audience" | "conversion" | "discover" | "experiment" | "finish" | "launch" | "measure" | "pause" | "prepare" | "reconcile" | "resume" | "update";
|
|
5162
|
+
state: "blocked" | "supported" | "unknown";
|
|
5163
|
+
reasonCodes: string[];
|
|
5164
|
+
prerequisites: string[];
|
|
5165
|
+
} & {})[];
|
|
5166
|
+
profiles: ({
|
|
5167
|
+
profile: "google_search" | "meta_retargeting";
|
|
5168
|
+
state: "blocked" | "supported" | "unknown";
|
|
5169
|
+
reasonCodes: string[];
|
|
5170
|
+
budgetModes: ("average_daily" | "campaign_total" | "daily" | "lifetime")[];
|
|
5171
|
+
providerApiVersion: string;
|
|
5172
|
+
} & {})[];
|
|
5173
|
+
} & {})[];
|
|
5174
|
+
channelPreviews: ({
|
|
5175
|
+
channelId: string;
|
|
5176
|
+
site: string;
|
|
5177
|
+
accountBindingId: string | null;
|
|
5178
|
+
accountName: string;
|
|
5179
|
+
accountTimeZone: string;
|
|
5180
|
+
destinationUrl: string;
|
|
5181
|
+
orderedCreatives: ({
|
|
5182
|
+
id: string;
|
|
5183
|
+
assetRef: {
|
|
5184
|
+
projectId: string;
|
|
5185
|
+
site: string;
|
|
5186
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5187
|
+
id: string;
|
|
5188
|
+
revision: string;
|
|
5189
|
+
digest: string;
|
|
5190
|
+
} & {};
|
|
5191
|
+
preparedArtifactRef: ({
|
|
5192
|
+
projectId: string;
|
|
5193
|
+
site: string;
|
|
5194
|
+
module: "booking" | "broadcast" | "business_brain" | "commerce" | "crm" | "experiment" | "files" | "forms" | "funnel" | "outreach" | "prepared_plan" | "publication";
|
|
5195
|
+
id: string;
|
|
5196
|
+
revision: string;
|
|
5197
|
+
digest: string;
|
|
5198
|
+
} & {}) | null;
|
|
5199
|
+
headline: string;
|
|
5200
|
+
body: string;
|
|
5201
|
+
callToAction: string;
|
|
5202
|
+
cropDigest: string;
|
|
5203
|
+
} & {})[];
|
|
5204
|
+
audienceRuleRefs: ({
|
|
5205
|
+
projectId: string;
|
|
5206
|
+
site: string;
|
|
5207
|
+
id: string;
|
|
5208
|
+
revision: string;
|
|
5209
|
+
policyRevision: string;
|
|
5210
|
+
retentionDays: number;
|
|
5211
|
+
exclusionRuleIds: string[];
|
|
5212
|
+
consentPurpose: "ad_personalization";
|
|
5213
|
+
} & {
|
|
5214
|
+
minDaysSinceVisit?: number | undefined;
|
|
5215
|
+
})[];
|
|
5216
|
+
allocation: ({
|
|
5217
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
5218
|
+
amountMicros: string;
|
|
5219
|
+
} & {}) | null;
|
|
5220
|
+
capabilityRevision: string;
|
|
5221
|
+
snapshotDigest: string;
|
|
5222
|
+
manifestRef: {
|
|
5223
|
+
id: string;
|
|
5224
|
+
digest: string;
|
|
5225
|
+
providerVersion: string;
|
|
5226
|
+
revision: string;
|
|
5227
|
+
} & {};
|
|
5228
|
+
conversionRevision: string;
|
|
5229
|
+
policyRevision: string;
|
|
5230
|
+
googleConfiguration: ({
|
|
5231
|
+
projectId: string;
|
|
5232
|
+
campaignId: string;
|
|
5233
|
+
channelId: string;
|
|
5234
|
+
site: string;
|
|
5235
|
+
accountBindingId: string;
|
|
5236
|
+
configurationRevision: number;
|
|
5237
|
+
configurationDigest: string;
|
|
5238
|
+
signalSemantics: "qualified_at_observation_v1";
|
|
5239
|
+
source: {
|
|
5240
|
+
projectId: string;
|
|
5241
|
+
site: string;
|
|
5242
|
+
kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
|
|
5243
|
+
id: string;
|
|
5244
|
+
revision: string;
|
|
5245
|
+
} & {};
|
|
5246
|
+
measurementRevision: string;
|
|
5247
|
+
countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
|
|
5248
|
+
attributionWindowDays: number;
|
|
5249
|
+
declaration: {
|
|
5250
|
+
statement: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING";
|
|
5251
|
+
category: "employment" | "financial_products_services" | "general" | "housing";
|
|
5252
|
+
creativeDigest: string;
|
|
5253
|
+
locationIds: string[];
|
|
5254
|
+
excludedLocationIds: string[];
|
|
5255
|
+
declaredByActorId: string;
|
|
5256
|
+
declaredAt: string;
|
|
5257
|
+
declaredForCampaignRevision: number;
|
|
5258
|
+
} & {};
|
|
5259
|
+
mode: "existing";
|
|
5260
|
+
nativeGoal: {
|
|
5261
|
+
externalId: string;
|
|
5262
|
+
actionIds: string[];
|
|
5263
|
+
name: string;
|
|
5264
|
+
revision: string;
|
|
5265
|
+
} & {};
|
|
5266
|
+
} & {}) | ({
|
|
5267
|
+
projectId: string;
|
|
5268
|
+
campaignId: string;
|
|
5269
|
+
channelId: string;
|
|
5270
|
+
site: string;
|
|
5271
|
+
accountBindingId: string;
|
|
5272
|
+
configurationRevision: number;
|
|
5273
|
+
configurationDigest: string;
|
|
5274
|
+
signalSemantics: "qualified_at_observation_v1";
|
|
5275
|
+
source: {
|
|
5276
|
+
projectId: string;
|
|
5277
|
+
site: string;
|
|
5278
|
+
kind: "accepted_form" | "approved_application" | "completed_booking" | "net_paid_order" | "qualified_lead";
|
|
5279
|
+
id: string;
|
|
5280
|
+
revision: string;
|
|
5281
|
+
} & {};
|
|
5282
|
+
measurementRevision: string;
|
|
5283
|
+
countingUnit: "net_order" | "unique_qualified_contact" | "unique_source";
|
|
5284
|
+
attributionWindowDays: number;
|
|
5285
|
+
declaration: {
|
|
5286
|
+
statement: "DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING";
|
|
5287
|
+
category: "employment" | "financial_products_services" | "general" | "housing";
|
|
5288
|
+
creativeDigest: string;
|
|
5289
|
+
locationIds: string[];
|
|
5290
|
+
excludedLocationIds: string[];
|
|
5291
|
+
declaredByActorId: string;
|
|
5292
|
+
declaredAt: string;
|
|
5293
|
+
declaredForCampaignRevision: number;
|
|
5294
|
+
} & {};
|
|
5295
|
+
mode: "admitted_setup";
|
|
5296
|
+
setupSpec: {
|
|
5297
|
+
schemaVersion: 1;
|
|
5298
|
+
kind: "google_upload_clicks_custom_goal_v1";
|
|
5299
|
+
signalSemantics: "qualified_at_observation_v1";
|
|
5300
|
+
goalLocalKey: "setup:custom-goal";
|
|
5301
|
+
requestedGoalName: string;
|
|
5302
|
+
action: {
|
|
5303
|
+
localKey: "setup:conversion-action";
|
|
5304
|
+
requestedActionName: string;
|
|
5305
|
+
type: "UPLOAD_CLICKS";
|
|
5306
|
+
category: "QUALIFIED_LEAD";
|
|
5307
|
+
countingType: "ONE_PER_CLICK";
|
|
5308
|
+
clickThroughLookbackWindowDays: number;
|
|
5309
|
+
primaryForGoal: false;
|
|
5310
|
+
} & {};
|
|
5311
|
+
goalActionKey: "setup:conversion-action";
|
|
5312
|
+
goalStrategy: "exclusive_custom_goal_v1";
|
|
5313
|
+
} & {};
|
|
5314
|
+
setupDigest: string;
|
|
5315
|
+
} & {}) | null;
|
|
5316
|
+
} & {
|
|
5317
|
+
attributionMarker?: ({
|
|
5318
|
+
parameter: "sonor_source";
|
|
5319
|
+
value: string;
|
|
5320
|
+
} & {}) | undefined;
|
|
5321
|
+
})[];
|
|
5322
|
+
preparedAt: string;
|
|
5323
|
+
expiresAt: string;
|
|
5324
|
+
blockingReasons: string[];
|
|
5325
|
+
} & {}) | null;
|
|
5326
|
+
readiness: {
|
|
5327
|
+
reasonCodes: ("OWNER_SOURCE_CHANGED" | "OWNER_STEP_FAILED" | "PREPARATION_ACCEPTED_REVIEW_AVAILABLE" | "PREPARATION_CANCELLED" | "PREPARATION_FINANCIAL_EXPOSURE" | "PREPARATION_HAS_AD_DISPATCH" | "PREPARATION_INVENTORY_UNAVAILABLE" | "PREPARATION_NOT_FOUND" | "PREPARATION_OWNER_MISMATCH" | "PREPARATION_RECOVERY_REQUIRED" | "PREPARATION_REJECTED" | "PREPARATION_REVISION_CHANGED" | "PREPARATION_TERMINAL_PROVIDER_REJECTION" | "PREPARATION_WORKING" | "SIGNER_CHANGED")[];
|
|
5328
|
+
canResume: boolean;
|
|
5329
|
+
} & {};
|
|
5330
|
+
} & {}>;
|
|
5331
|
+
export type ResonancePreparationLookupRequest = Value<typeof preparationLookupRequest>;
|
|
5332
|
+
export type ResonancePreparationLookupResponse = Value<typeof preparationLookupResponse>;
|
|
5333
|
+
export declare const parseResonancePreparationLookupRequest: (v: unknown) => ResonancePreparationLookupRequest;
|
|
5334
|
+
/** Original outcome only. A saved plan's original expiry does not attest current freshness. */
|
|
5335
|
+
export declare function parseResonancePreparationLookupResponse(v: unknown): ResonancePreparationLookupResponse;
|
|
5336
|
+
export declare const RESONANCE_PREPARATION_LOOKUP_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5337
|
+
export declare const RESONANCE_PREPARATION_LOOKUP_RESPONSE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5338
|
+
declare const preparationRetireRequest: Field<{
|
|
5339
|
+
expectedRevision: number;
|
|
5340
|
+
reason: "retain_unpublished_artifacts";
|
|
5341
|
+
} & {}>;
|
|
5342
|
+
declare const preparationRetireResponse: Field<{
|
|
5343
|
+
schemaVersion: 1;
|
|
5344
|
+
projectId: string;
|
|
5345
|
+
campaignId: string;
|
|
5346
|
+
preparationOperationId: string;
|
|
5347
|
+
state: "cancelled";
|
|
5348
|
+
replayed: boolean;
|
|
5349
|
+
retainedArtifactCount: number;
|
|
5350
|
+
unrecordedSlotCount: number;
|
|
5351
|
+
retiredAt: string;
|
|
5352
|
+
reasonCodes: string[];
|
|
5353
|
+
} & {}>;
|
|
5354
|
+
export type ResonancePreparationRetireRequest = Value<typeof preparationRetireRequest>;
|
|
5355
|
+
export type ResonancePreparationRetireResponse = Value<typeof preparationRetireResponse>;
|
|
5356
|
+
/** Explicit retirement shape. Native compare-and-set verifies unpublished artifacts and absence of financial/provider effects. */
|
|
5357
|
+
export declare const parseResonancePreparationRetireRequest: (v: unknown) => ResonancePreparationRetireRequest;
|
|
5358
|
+
export declare const parseResonancePreparationRetireResponse: (v: unknown) => ResonancePreparationRetireResponse;
|
|
5359
|
+
export declare const RESONANCE_PREPARATION_RETIRE_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5360
|
+
export declare const RESONANCE_PREPARATION_RETIRE_RESPONSE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5361
|
+
export declare const RESONANCE_GOOGLE_DIAGNOSTICS_SECTIONS: readonly ['campaign', 'totals', 'daily', 'keywords', 'searchTerms', 'goals', 'uploadDiagnostics'];
|
|
5362
|
+
export type ResonanceGoogleDiagnosticsSection = typeof RESONANCE_GOOGLE_DIAGNOSTICS_SECTIONS[number];
|
|
5363
|
+
declare const googleDiagnosticsRequest: Field<{
|
|
5364
|
+
channelId: string;
|
|
5365
|
+
startDate: string;
|
|
5366
|
+
endDate: string;
|
|
5367
|
+
sections: ("campaign" | "daily" | "goals" | "keywords" | "searchTerms" | "totals" | "uploadDiagnostics")[];
|
|
5368
|
+
directive: string;
|
|
5369
|
+
} & {}>;
|
|
5370
|
+
export type ResonanceGoogleCampaignDiagnosticsRequest = Value<typeof googleDiagnosticsRequest>;
|
|
5371
|
+
/** Request shape only. Native admission resolves scope, completed account-local days and deadline. */
|
|
5372
|
+
export declare const parseResonanceGoogleCampaignDiagnosticsRequest: (v: unknown) => ResonanceGoogleCampaignDiagnosticsRequest;
|
|
5373
|
+
export declare const RESONANCE_GOOGLE_CAMPAIGN_DIAGNOSTICS_REQUEST_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5374
|
+
declare const googleDiagnosticsPayload: Field<{
|
|
5375
|
+
channelId: string;
|
|
5376
|
+
startDate: string;
|
|
5377
|
+
endDate: string;
|
|
5378
|
+
sections: ("campaign" | "daily" | "goals" | "keywords" | "searchTerms" | "totals" | "uploadDiagnostics")[];
|
|
5379
|
+
directive: string;
|
|
5380
|
+
schemaVersion: 1;
|
|
5381
|
+
campaignId: string;
|
|
5382
|
+
expectedRevision: number;
|
|
5383
|
+
accountBindingId: string;
|
|
5384
|
+
site: string;
|
|
5385
|
+
idempotencyKey: string;
|
|
5386
|
+
} & {}>;
|
|
5387
|
+
export type ResonanceGoogleCampaignDiagnosticsPayload = Value<typeof googleDiagnosticsPayload>;
|
|
5388
|
+
/** Stored business payload only. Native admission verifies every ID, revision and binding against the original Ledger row. */
|
|
5389
|
+
export declare const parseResonanceGoogleCampaignDiagnosticsPayload: (v: unknown) => ResonanceGoogleCampaignDiagnosticsPayload;
|
|
5390
|
+
export declare const RESONANCE_GOOGLE_CAMPAIGN_DIAGNOSTICS_PAYLOAD_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
5391
|
+
declare const googleDiagnosticsReport: Field<{
|
|
5392
|
+
schemaVersion: 1;
|
|
5393
|
+
provider: "google_ads";
|
|
5394
|
+
projectId: string;
|
|
5395
|
+
campaignId: string;
|
|
5396
|
+
channelId: string;
|
|
5397
|
+
site: string;
|
|
5398
|
+
accountBindingId: string;
|
|
5399
|
+
externalCampaignId: string;
|
|
5400
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLE" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XCG" | "XDR" | "XOF" | "XPF" | "XSU" | "YER" | "ZAR" | "ZMW" | "ZWG" | "ZWL";
|
|
5401
|
+
accountTimeZone: string;
|
|
5402
|
+
window: {
|
|
5403
|
+
startDate: string;
|
|
5404
|
+
endDate: string;
|
|
5405
|
+
completeness: "completed_days";
|
|
5406
|
+
} & {};
|
|
5407
|
+
observedAt: string;
|
|
5408
|
+
sections: {
|
|
5409
|
+
campaign: {
|
|
5410
|
+
state: "available" | "capped" | "unavailable";
|
|
5411
|
+
reasonCodes: string[];
|
|
5412
|
+
rows: ({
|
|
5413
|
+
status: string;
|
|
5414
|
+
primaryStatus: string | null;
|
|
5415
|
+
primaryStatusReasons: string[];
|
|
5416
|
+
servingStatus: string | null;
|
|
5417
|
+
biddingStrategyType: string | null;
|
|
5418
|
+
startDate: string | null;
|
|
5419
|
+
endDate: string | null;
|
|
5420
|
+
budgetAmountMicros: string | null;
|
|
5421
|
+
budgetPeriod: string | null;
|
|
5422
|
+
searchNetwork: boolean | null;
|
|
5423
|
+
searchPartners: boolean | null;
|
|
5424
|
+
displayNetwork: boolean | null;
|
|
5425
|
+
positiveGeoTargetType: string | null;
|
|
5426
|
+
negativeGeoTargetType: string | null;
|
|
5427
|
+
locationCriterionIds: string[];
|
|
5428
|
+
} & {})[];
|
|
5429
|
+
pagesRead: number;
|
|
5430
|
+
} & {};
|
|
5431
|
+
totals: {
|
|
5432
|
+
state: "available" | "capped" | "unavailable";
|
|
5433
|
+
reasonCodes: string[];
|
|
5434
|
+
rows: ({
|
|
5435
|
+
spendMicros: string | null;
|
|
5436
|
+
impressions: string | null;
|
|
5437
|
+
clicks: string | null;
|
|
5438
|
+
conversions: string | null;
|
|
5439
|
+
allConversions: string | null;
|
|
5440
|
+
} & {})[];
|
|
5441
|
+
pagesRead: number;
|
|
5442
|
+
} & {};
|
|
5443
|
+
daily: {
|
|
5444
|
+
state: "available" | "capped" | "unavailable";
|
|
5445
|
+
reasonCodes: string[];
|
|
5446
|
+
rows: ({
|
|
5447
|
+
spendMicros: string | null;
|
|
5448
|
+
impressions: string | null;
|
|
5449
|
+
clicks: string | null;
|
|
5450
|
+
conversions: string | null;
|
|
5451
|
+
allConversions: string | null;
|
|
5452
|
+
localDate: string;
|
|
5453
|
+
} & {})[];
|
|
5454
|
+
pagesRead: number;
|
|
5455
|
+
} & {};
|
|
5456
|
+
keywords: {
|
|
5457
|
+
state: "available" | "capped" | "unavailable";
|
|
5458
|
+
reasonCodes: string[];
|
|
5459
|
+
rows: ({
|
|
5460
|
+
spendMicros: string | null;
|
|
5461
|
+
impressions: string | null;
|
|
5462
|
+
clicks: string | null;
|
|
5463
|
+
conversions: string | null;
|
|
5464
|
+
allConversions: string | null;
|
|
5465
|
+
criterionId: string;
|
|
5466
|
+
adGroupId: string;
|
|
5467
|
+
matchType: string | null;
|
|
5468
|
+
status: string | null;
|
|
5469
|
+
negative: boolean;
|
|
5470
|
+
} & {})[];
|
|
5471
|
+
pagesRead: number;
|
|
5472
|
+
} & {};
|
|
5473
|
+
searchTerms: {
|
|
5474
|
+
state: "available" | "capped" | "unavailable";
|
|
5475
|
+
reasonCodes: string[];
|
|
5476
|
+
rows: ({
|
|
5477
|
+
spendMicros: string | null;
|
|
5478
|
+
impressions: string | null;
|
|
5479
|
+
clicks: string | null;
|
|
5480
|
+
conversions: string | null;
|
|
5481
|
+
allConversions: string | null;
|
|
5482
|
+
rowId: string;
|
|
5483
|
+
adGroupId: string;
|
|
5484
|
+
status: string | null;
|
|
5485
|
+
keywordCriterionId: string | null;
|
|
5486
|
+
matchType: string | null;
|
|
5487
|
+
} & {})[];
|
|
5488
|
+
pagesRead: number;
|
|
5489
|
+
} & {};
|
|
5490
|
+
goals: {
|
|
5491
|
+
state: "available" | "capped" | "unavailable";
|
|
5492
|
+
reasonCodes: string[];
|
|
5493
|
+
rows: ({
|
|
5494
|
+
goalConfigLevel: string | null;
|
|
5495
|
+
customGoalResourceName: string | null;
|
|
5496
|
+
customGoalStatus: string | null;
|
|
5497
|
+
actionResourceName: string;
|
|
5498
|
+
actionStatus: string | null;
|
|
5499
|
+
type: string | null;
|
|
5500
|
+
category: string | null;
|
|
5501
|
+
primaryForGoal: boolean | null;
|
|
5502
|
+
countingType: string | null;
|
|
5503
|
+
clickThroughLookbackWindowDays: number | null;
|
|
5504
|
+
} & {})[];
|
|
5505
|
+
pagesRead: number;
|
|
5506
|
+
} & {};
|
|
5507
|
+
uploadDiagnostics: {
|
|
5508
|
+
state: "available" | "capped" | "unavailable";
|
|
5509
|
+
reasonCodes: string[];
|
|
5510
|
+
rows: ({
|
|
5511
|
+
actionResourceName: string;
|
|
5512
|
+
client: string | null;
|
|
5513
|
+
status: string | null;
|
|
5514
|
+
lastUploadDateTime: string | null;
|
|
5515
|
+
totalEventCount: string | null;
|
|
5516
|
+
successfulEventCount: string | null;
|
|
5517
|
+
pendingEventCount: string | null;
|
|
5518
|
+
alertCodes: string[];
|
|
5519
|
+
} & {})[];
|
|
5520
|
+
pagesRead: number;
|
|
5521
|
+
} & {};
|
|
5522
|
+
} & {};
|
|
5523
|
+
searchTermCoverage: {
|
|
5524
|
+
state: "available" | "unavailable";
|
|
5525
|
+
reasonCodes: string[];
|
|
5526
|
+
disclosed: ({
|
|
5527
|
+
spendMicros: string | null;
|
|
5528
|
+
impressions: string | null;
|
|
5529
|
+
clicks: string | null;
|
|
5530
|
+
conversions: string | null;
|
|
5531
|
+
allConversions: string | null;
|
|
5532
|
+
} & {}) | null;
|
|
5533
|
+
remainder: ({
|
|
5534
|
+
spendMicros: string | null;
|
|
5535
|
+
impressions: string | null;
|
|
5536
|
+
clicks: string | null;
|
|
5537
|
+
conversions: string | null;
|
|
5538
|
+
allConversions: string | null;
|
|
5539
|
+
} & {}) | null;
|
|
5540
|
+
} & {};
|
|
5541
|
+
providerAuthored: {
|
|
5542
|
+
campaignName: string | null;
|
|
5543
|
+
keywords: ({
|
|
5544
|
+
adGroupId: string;
|
|
5545
|
+
criterionId: string;
|
|
5546
|
+
text: string;
|
|
5547
|
+
} & {})[];
|
|
5548
|
+
searchTerms: ({
|
|
5549
|
+
rowId: string;
|
|
5550
|
+
text: string;
|
|
5551
|
+
} & {})[];
|
|
5552
|
+
locations: ({
|
|
5553
|
+
criterionId: string;
|
|
5554
|
+
name: string;
|
|
5555
|
+
} & {})[];
|
|
5556
|
+
} & {};
|
|
5557
|
+
} & {}>;
|
|
5558
|
+
export type ResonanceGoogleCampaignDiagnosticsReport = Value<typeof googleDiagnosticsReport>;
|
|
5559
|
+
export type GoogleCampaignDiagnosticsReport = ResonanceGoogleCampaignDiagnosticsReport;
|
|
5560
|
+
/** Bounded read data only. The native caller verifies current diagnostics authority and provider provenance. */
|
|
5561
|
+
export declare function parseResonanceGoogleCampaignDiagnosticsReport(v: unknown): ResonanceGoogleCampaignDiagnosticsReport;
|
|
5562
|
+
export declare const RESONANCE_GOOGLE_CAMPAIGN_DIAGNOSTICS_REPORT_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4570
5563
|
export declare const RESONANCE_COMMAND_PREPARE_RESPONSE_JSON_SCHEMA: import("./wire-schema").JsonSchema;
|
|
4571
5564
|
export interface ResonancePlanIssue {
|
|
4572
5565
|
path: string;
|