@@ -216,6 +216,9 @@ enum ChangeHistoryResourceType {
216216 // EnhancedMeasurementSettings resource
217217 ENHANCED_MEASUREMENT_SETTINGS = 24 ;
218218
219+ // SKAdNetworkConversionValueSchema resource
220+ SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26 ;
221+
219222 // AdSenseLink resource
220223 ADSENSE_LINK = 27 ;
221224
@@ -313,6 +316,24 @@ enum PropertyType {
313316 PROPERTY_TYPE_ROLLUP = 3 ;
314317}
315318
319+ // The coarse conversion value set on the updatePostbackConversionValue SDK call
320+ // when a ConversionValues.event_mappings conditions are satisfied. For
321+ // more information, see
322+ // [SKAdNetwork.CoarseConversionValue](https://developer.apple.com/documentation/storekit/skadnetwork/coarseconversionvalue).
323+ enum CoarseValue {
324+ // Coarse value not specified.
325+ COARSE_VALUE_UNSPECIFIED = 0 ;
326+
327+ // Coarse value of low.
328+ COARSE_VALUE_LOW = 1 ;
329+
330+ // Coarse value of medium.
331+ COARSE_VALUE_MEDIUM = 2 ;
332+
333+ // Coarse value of high.
334+ COARSE_VALUE_HIGH = 3 ;
335+ }
336+
316337// A resource message representing a Google Analytics account.
317338message Account {
318339 option (google.api.resource ) = {
@@ -776,6 +797,129 @@ message MeasurementProtocolSecret {
776797 string secret_value = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
777798}
778799
800+ // SKAdNetwork conversion value schema of an iOS stream.
801+ message SKAdNetworkConversionValueSchema {
802+ option (google.api.resource ) = {
803+ type : "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema"
804+ pattern : "properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}"
805+ };
806+
807+ // Output only. Resource name of the schema. This will be child of ONLY an iOS
808+ // stream, and there can be at most one such child under an iOS stream.
809+ // Format:
810+ // properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema
811+ string name = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
812+
813+ // Required. The conversion value settings for the first postback window.
814+ // These differ from values for postback window two and three in that they
815+ // contain a "Fine" grained conversion value (a numeric value).
816+ //
817+ // Conversion values for this postback window must be set. The other windows
818+ // are optional and may inherit this window's settings if unset or disabled.
819+ PostbackWindow postback_window_one = 2
820+ [(google.api.field_behavior ) = REQUIRED ];
821+
822+ // The conversion value settings for the second postback window.
823+ //
824+ // This field should only be configured if there is a need to define different
825+ // conversion values for this postback window.
826+ //
827+ // If enable_postback_window_settings is set to false for this postback
828+ // window, the values from postback_window_one will be used.
829+ PostbackWindow postback_window_two = 3 ;
830+
831+ // The conversion value settings for the third postback window.
832+ //
833+ // This field should only be set if the user chose to define different
834+ // conversion values for this postback window. It is allowed to configure
835+ // window 3 without setting window 2. In case window 1 & 2 settings are set
836+ // and enable_postback_window_settings for this postback window is set to
837+ // false, the schema will inherit settings from postback_window_two.
838+ PostbackWindow postback_window_three = 4 ;
839+
840+ // If enabled, the GA SDK will set conversion values using this schema
841+ // definition, and schema will be exported to any Google Ads accounts linked
842+ // to this property. If disabled, the GA SDK will not automatically set
843+ // conversion values, and also the schema will not be exported to Ads.
844+ bool apply_conversion_values = 5 ;
845+ }
846+
847+ // Settings for a SKAdNetwork conversion postback window.
848+ message PostbackWindow {
849+ // Ordering of the repeated field will be used to prioritize the conversion
850+ // value settings. Lower indexed entries are prioritized higher. The first
851+ // conversion value setting that evaluates to true will be selected. It must
852+ // have at least one entry if enable_postback_window_settings is set to
853+ // true. It can have maximum of 128 entries.
854+ repeated ConversionValues conversion_values = 1 ;
855+
856+ // If enable_postback_window_settings is true, conversion_values
857+ // must be populated and will be used for determining when and how to set the
858+ // Conversion Value on a client device and exporting schema to linked Ads
859+ // accounts. If false, the settings are not used, but are retained in case
860+ // they may be used in the future. This must always be true for
861+ // postback_window_one.
862+ bool postback_window_settings_enabled = 2 ;
863+ }
864+
865+ // Conversion value settings for a postback window for SKAdNetwork conversion
866+ // value schema.
867+ message ConversionValues {
868+ // Display name of the SKAdNetwork conversion value.
869+ // The max allowed display name length is 50 UTF-16 code units.
870+ string display_name = 1 ;
871+
872+ // The fine-grained conversion value. This is applicable only to the first
873+ // postback window. Its valid values are [0,63], both inclusive. It must be
874+ // set for postback window 1, and must not be set for postback window 2 & 3.
875+ // This value is not guaranteed to be unique.
876+ //
877+ // If the configuration for the first postback window is re-used for second or
878+ // third postback windows this field has no effect.
879+ optional int32 fine_value = 2 ;
880+
881+ // Required. A coarse grained conversion value.
882+ //
883+ // This value is not guaranteed to be unique.
884+ CoarseValue coarse_value = 3 [(google.api.field_behavior ) = REQUIRED ];
885+
886+ // Event conditions that must be met for this Conversion Value to be achieved.
887+ // The conditions in this list are ANDed together. It must have minimum of 1
888+ // entry and maximum of 3 entries, if the postback window is enabled.
889+ repeated EventMapping event_mappings = 4 ;
890+
891+ // If true, the SDK should lock to this conversion value for the current
892+ // postback window.
893+ bool lock_enabled = 5 ;
894+ }
895+
896+ // Event setting conditions to match an event.
897+ message EventMapping {
898+ // Required. Name of the GA4 event. It must always be set.
899+ // The max allowed display name length is 40 UTF-16 code units.
900+ string event_name = 1 [(google.api.field_behavior ) = REQUIRED ];
901+
902+ // At least one of the following four min/max values must be set. The
903+ // values set will be ANDed together to qualify an event.
904+ // The minimum number of times the event occurred. If not set, minimum event
905+ // count won't be checked.
906+ optional int64 min_event_count = 2 ;
907+
908+ // The maximum number of times the event occurred. If not set, maximum event
909+ // count won't be checked.
910+ optional int64 max_event_count = 3 ;
911+
912+ // The minimum revenue generated due to the event. Revenue currency will be
913+ // defined at the property level. If not set, minimum event value won't be
914+ // checked.
915+ optional double min_event_value = 4 ;
916+
917+ // The maximum revenue generated due to the event. Revenue currency will be
918+ // defined at the property level. If not set, maximum event value won't be
919+ // checked.
920+ optional double max_event_value = 5 ;
921+ }
922+
779923// A set of changes within a Google Analytics account or its child properties
780924// that resulted from the same cause. Common causes would be updates made in the
781925// Google Analytics UI, changes from customer support, or automatic Google
@@ -870,6 +1014,10 @@ message ChangeHistoryChange {
8701014 // A snapshot of EnhancedMeasurementSettings resource in change history.
8711015 EnhancedMeasurementSettings enhanced_measurement_settings = 24 ;
8721016
1017+ // A snapshot of SKAdNetworkConversionValueSchema resource in change
1018+ // history.
1019+ SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26 ;
1020+
8731021 // A snapshot of an AdSenseLink resource in change history.
8741022 AdSenseLink adsense_link = 27 ;
8751023
@@ -1579,8 +1727,8 @@ message BigQueryLink {
15791727 // If set true, enables streaming export to the linked Google Cloud project.
15801728 bool streaming_export_enabled = 5 ;
15811729
1582- // If set true, enables enterprise export to the linked Google Cloud project.
1583- bool enterprise_export_enabled = 9 ;
1730+ // If set true, enables fresh daily export to the linked Google Cloud project.
1731+ bool fresh_daily_export_enabled = 9 ;
15841732
15851733 // If set true, exported data will include advertising identifiers for mobile
15861734 // app streams.
0 commit comments