Stay organized with collections
Save and categorize content based on your preferences.
---v18/resources/conversion_value_rule.proto2024-10-1617:56:30.000000000+0000+++v19/resources/conversion_value_rule.proto2025-04-1617:10:13.000000000+0000@@-1,199+1,199@@-//Copyright2024GoogleLLC+//Copyright2025GoogleLLC////LicensedundertheApacheLicense,Version2.0(the"License");//youmaynotusethisfileexceptincompliancewiththeLicense.//YoumayobtainacopyoftheLicenseat////http://www.apache.org/licenses/LICENSE-2.0////Unlessrequiredbyapplicablelaworagreedtoinwriting,software//distributedundertheLicenseisdistributedonan"AS IS"BASIS,//WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.//SeetheLicenseforthespecificlanguagegoverningpermissionsand//limitationsundertheLicense.syntax="proto3";-packagegoogle.ads.googleads.v18.resources;+packagegoogle.ads.googleads.v19.resources;-import"google/ads/googleads/v18/enums/conversion_value_rule_status.proto";-import"google/ads/googleads/v18/enums/value_rule_device_type.proto";-import"google/ads/googleads/v18/enums/value_rule_geo_location_match_type.proto";-import"google/ads/googleads/v18/enums/value_rule_operation.proto";+import"google/ads/googleads/v19/enums/conversion_value_rule_status.proto";+import"google/ads/googleads/v19/enums/value_rule_device_type.proto";+import"google/ads/googleads/v19/enums/value_rule_geo_location_match_type.proto";+import"google/ads/googleads/v19/enums/value_rule_operation.proto";import"google/api/field_behavior.proto";import"google/api/resource.proto";-optioncsharp_namespace="Google.Ads.GoogleAds.V18.Resources";-optiongo_package="google.golang.org/genproto/googleapis/ads/googleads/v18/resources;resources";+optioncsharp_namespace="Google.Ads.GoogleAds.V19.Resources";+optiongo_package="google.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources";optionjava_multiple_files=true;optionjava_outer_classname="ConversionValueRuleProto";-optionjava_package="com.google.ads.googleads.v18.resources";+optionjava_package="com.google.ads.googleads.v19.resources";optionobjc_class_prefix="GAA";-optionphp_namespace="Google\\Ads\\GoogleAds\\V18\\Resources";-optionruby_package="Google::Ads::GoogleAds::V18::Resources";+optionphp_namespace="Google\\Ads\\GoogleAds\\V19\\Resources";+optionruby_package="Google::Ads::GoogleAds::V19::Resources";//ProtofiledescribingtheConversionValueRuleresource.//AconversionvaluerulemessageConversionValueRule{option(google.api.resource)={type:"googleads.googleapis.com/ConversionValueRule"pattern:"customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}"};//Actionappliedwhenruleisapplied.messageValueRuleAction{//Specifiesappliedoperation.-google.ads.googleads.v18.enums.ValueRuleOperationEnum.ValueRuleOperation+google.ads.googleads.v19.enums.ValueRuleOperationEnum.ValueRuleOperationoperation=1;//Specifiesappliedvalue.doublevalue=2;}//ConditiononGeodimension.messageValueRuleGeoLocationCondition{//Geolocationsthatadvertiserswanttoexclude.repeatedstringexcluded_geo_target_constants=1[(google.api.resource_reference)={type:"googleads.googleapis.com/GeoTargetConstant"}];//ExcludedGeolocationmatchtype.-google.ads.googleads.v18.enums.ValueRuleGeoLocationMatchTypeEnum+google.ads.googleads.v19.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchTypeexcluded_geo_match_type=2;//Geolocationsthatadvertiserswanttoinclude.repeatedstringgeo_target_constants=3[(google.api.resource_reference)={type:"googleads.googleapis.com/GeoTargetConstant"}];//IncludedGeolocationmatchtype.-google.ads.googleads.v18.enums.ValueRuleGeoLocationMatchTypeEnum+google.ads.googleads.v19.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchTypegeo_match_type=4;}//ConditiononDevicedimension.messageValueRuleDeviceCondition{//Valuefordevicetypecondition.-repeatedgoogle.ads.googleads.v18.enums.ValueRuleDeviceTypeEnum+repeatedgoogle.ads.googleads.v19.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceTypedevice_types=1;}//ConditiononAudiencedimension.messageValueRuleAudienceCondition{//UserLists.repeatedstringuser_lists=1[(google.api.resource_reference)={type:"googleads.googleapis.com/UserList"}];//UserInterests.repeatedstringuser_interests=2[(google.api.resource_reference)={type:"googleads.googleapis.com/UserInterest"}];}//ConditiononItinerarydimension.messageValueRuleItineraryCondition{//Rangeforthenumberofdaysbetweenthedateofthebookingandthe//startoftheitinerary.ValueRuleItineraryAdvanceBookingWindowadvance_booking_window=1;//Rangefortheitinerarylengthinnumberofnights.ValueRuleItineraryTravelLengthtravel_length=2;//Thedaysoftheweekonwhichthisitinerary's travel can start.ValueRuleItineraryTravelStartDaytravel_start_day=3;}//Rangeforthenumberofdaysbetweenthedateofthebookingandthe//startoftheitinerary.messageValueRuleItineraryAdvanceBookingWindow{//Minimumnumberofdaysbetweenthedateofthebookingthestartdate.-int32min_days=1;+optionalint32min_days=3;//Maximumnumberofdaysbetweenthedateofthebookingthestartdate.-int32max_days=2;+optionalint32max_days=4;}//Rangefortheitinerarylengthinnumberofnights.messageValueRuleItineraryTravelLength{//Minimumnumberofnightsbetweenthestartdateandtheenddate.int32min_nights=1;//Maximumnumberofdaysbetweenthestartdateandtheenddate.int32max_nights=2;}//Thedaysoftheweekonwhichanitinerary's travel can start.messageValueRuleItineraryTravelStartDay{//ThetravelcanstartonMonday.boolmonday=1;//ThetravelcanstartonTuesday.booltuesday=2;//ThetravelcanstartonWednesday.boolwednesday=3;//ThetravelcanstartonThursday.boolthursday=4;//ThetravelcanstartonFriday.boolfriday=5;//ThetravelcanstartonSaturday.boolsaturday=6;//ThetravelcanstartonSunday.boolsunday=7;}//Immutable.Theresourcenameoftheconversionvaluerule.//Conversionvalueruleresourcenameshavetheform:////`customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}`stringresource_name=1[(google.api.field_behavior)=IMMUTABLE,(google.api.resource_reference)={type:"googleads.googleapis.com/ConversionValueRule"}];//Outputonly.TheIDoftheconversionvaluerule.int64id=2[(google.api.field_behavior)=OUTPUT_ONLY];//Actionappliedwhentheruleistriggered.ValueRuleActionaction=3;//ConditionforGeolocationthatmustbesatisfiedforthevalueruleto//apply.ValueRuleGeoLocationConditiongeo_location_condition=4;//Conditionfordevicetypethatmustbesatisfiedforthevalueruleto//apply.ValueRuleDeviceConditiondevice_condition=5;//Conditionforaudiencethatmustbesatisfiedforthevalueruletoapply.ValueRuleAudienceConditionaudience_condition=6;//Conditionforitinerarythatmustbesatisfiedforthevalueruletoapply.ValueRuleItineraryConditionitinerary_condition=9;//Outputonly.Theresourcenameoftheconversionvaluerule's owner//customer.Whenthevalueruleisinheritedfromamanagercustomer,//owner_customerwillbetheresourcenameofthemanagerwhereasthe//customerintheresource_namewillbeoftherequestingservingcustomer.//**Read-only**stringowner_customer=7[(google.api.field_behavior)=OUTPUT_ONLY,(google.api.resource_reference)={type:"googleads.googleapis.com/Customer"}];//Thestatusoftheconversionvaluerule.-google.ads.googleads.v18.enums.ConversionValueRuleStatusEnum+google.ads.googleads.v19.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatusstatus=8;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# /resources/conversion_value_rule.proto\n\n```python\n--- v18/resources/conversion_value_rule.proto 2024-10-16 17:56:30.000000000 +0000\n+++ v19/resources/conversion_value_rule.proto 2025-04-16 17:10:13.000000000 +0000\n@@ -1,199 +1,199 @@\n-// Copyright 2024 Google LLC\n+// Copyright 2025 Google LLC\n //\n // Licensed under the Apache License, Version 2.0 (the \"License\");\n // you may not use this file except in compliance with the License.\n // You may obtain a copy of the License at\n //\n // http://www.apache.org/licenses/LICENSE-2.0\n //\n // Unless required by applicable law or agreed to in writing, software\n // distributed under the License is distributed on an \"AS IS\" BASIS,\n // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n // See the License for the specific language governing permissions and\n // limitations under the License.\n\n syntax = \"proto3\";\n\n-package google.ads.googleads.v18.resources;\n+package google.ads.googleads.v19.resources;\n\n-import \"google/ads/googleads/v18/enums/conversion_value_rule_status.proto\";\n-import \"google/ads/googleads/v18/enums/value_rule_device_type.proto\";\n-import \"google/ads/googleads/v18/enums/value_rule_geo_location_match_type.proto\";\n-import \"google/ads/googleads/v18/enums/value_rule_operation.proto\";\n+import \"google/ads/googleads/v19/enums/conversion_value_rule_status.proto\";\n+import \"google/ads/googleads/v19/enums/value_rule_device_type.proto\";\n+import \"google/ads/googleads/v19/enums/value_rule_geo_location_match_type.proto\";\n+import \"google/ads/googleads/v19/enums/value_rule_operation.proto\";\n import \"google/api/field_behavior.proto\";\n import \"google/api/resource.proto\";\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V18.Resources\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v18/resources;resources\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V19.Resources\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v19/resources;resources\";\n option java_multiple_files = true;\n option java_outer_classname = \"ConversionValueRuleProto\";\n-option java_package = \"com.google.ads.googleads.v18.resources\";\n+option java_package = \"com.google.ads.googleads.v19.resources\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V18\\\\Resources\";\n-option ruby_package = \"Google::Ads::GoogleAds::V18::Resources\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V19\\\\Resources\";\n+option ruby_package = \"Google::Ads::GoogleAds::V19::Resources\";\n\n // Proto file describing the Conversion Value Rule resource.\n\n // A conversion value rule\n message ConversionValueRule {\n option (google.api.resource) = {\n type: \"googleads.googleapis.com/ConversionValueRule\"\n pattern: \"customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}\"\n };\n\n // Action applied when rule is applied.\n message ValueRuleAction {\n // Specifies applied operation.\n- google.ads.googleads.v18.enums.ValueRuleOperationEnum.ValueRuleOperation\n+ google.ads.googleads.v19.enums.ValueRuleOperationEnum.ValueRuleOperation\n operation = 1;\n\n // Specifies applied value.\n double value = 2;\n }\n\n // Condition on Geo dimension.\n message ValueRuleGeoLocationCondition {\n // Geo locations that advertisers want to exclude.\n repeated string excluded_geo_target_constants = 1\n [(google.api.resource_reference) = {\n type: \"googleads.googleapis.com/GeoTargetConstant\"\n }];\n\n // Excluded Geo location match type.\n- google.ads.googleads.v18.enums.ValueRuleGeoLocationMatchTypeEnum\n+ google.ads.googleads.v19.enums.ValueRuleGeoLocationMatchTypeEnum\n .ValueRuleGeoLocationMatchType excluded_geo_match_type = 2;\n\n // Geo locations that advertisers want to include.\n repeated string geo_target_constants = 3\n [(google.api.resource_reference) = {\n type: \"googleads.googleapis.com/GeoTargetConstant\"\n }];\n\n // Included Geo location match type.\n- google.ads.googleads.v18.enums.ValueRuleGeoLocationMatchTypeEnum\n+ google.ads.googleads.v19.enums.ValueRuleGeoLocationMatchTypeEnum\n .ValueRuleGeoLocationMatchType geo_match_type = 4;\n }\n\n // Condition on Device dimension.\n message ValueRuleDeviceCondition {\n // Value for device type condition.\n- repeated google.ads.googleads.v18.enums.ValueRuleDeviceTypeEnum\n+ repeated google.ads.googleads.v19.enums.ValueRuleDeviceTypeEnum\n .ValueRuleDeviceType device_types = 1;\n }\n\n // Condition on Audience dimension.\n message ValueRuleAudienceCondition {\n // User Lists.\n repeated string user_lists = 1 [(google.api.resource_reference) = {\n type: \"googleads.googleapis.com/UserList\"\n }];\n\n // User Interests.\n repeated string user_interests = 2 [(google.api.resource_reference) = {\n type: \"googleads.googleapis.com/UserInterest\"\n }];\n }\n\n // Condition on Itinerary dimension.\n message ValueRuleItineraryCondition {\n // Range for the number of days between the date of the booking and the\n // start of the itinerary.\n ValueRuleItineraryAdvanceBookingWindow advance_booking_window = 1;\n\n // Range for the itinerary length in number of nights.\n ValueRuleItineraryTravelLength travel_length = 2;\n\n // The days of the week on which this itinerary's travel can start.\n ValueRuleItineraryTravelStartDay travel_start_day = 3;\n }\n\n // Range for the number of days between the date of the booking and the\n // start of the itinerary.\n message ValueRuleItineraryAdvanceBookingWindow {\n // Minimum number of days between the date of the booking the start date.\n- int32 min_days = 1;\n+ optional int32 min_days = 3;\n\n // Maximum number of days between the date of the booking the start date.\n- int32 max_days = 2;\n+ optional int32 max_days = 4;\n }\n\n // Range for the itinerary length in number of nights.\n message ValueRuleItineraryTravelLength {\n // Minimum number of nights between the start date and the end date.\n int32 min_nights = 1;\n\n // Maximum number of days between the start date and the end date.\n int32 max_nights = 2;\n }\n\n // The days of the week on which an itinerary's travel can start.\n message ValueRuleItineraryTravelStartDay {\n // The travel can start on Monday.\n bool monday = 1;\n\n // The travel can start on Tuesday.\n bool tuesday = 2;\n\n // The travel can start on Wednesday.\n bool wednesday = 3;\n\n // The travel can start on Thursday.\n bool thursday = 4;\n\n // The travel can start on Friday.\n bool friday = 5;\n\n // The travel can start on Saturday.\n bool saturday = 6;\n\n // The travel can start on Sunday.\n bool sunday = 7;\n }\n\n // Immutable. The resource name of the conversion value rule.\n // Conversion value rule resource names have the form:\n //\n // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}`\n string resource_name = 1 [\n (google.api.field_behavior) = IMMUTABLE,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/ConversionValueRule\"\n }\n ];\n\n // Output only. The ID of the conversion value rule.\n int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];\n\n // Action applied when the rule is triggered.\n ValueRuleAction action = 3;\n\n // Condition for Geo location that must be satisfied for the value rule to\n // apply.\n ValueRuleGeoLocationCondition geo_location_condition = 4;\n\n // Condition for device type that must be satisfied for the value rule to\n // apply.\n ValueRuleDeviceCondition device_condition = 5;\n\n // Condition for audience that must be satisfied for the value rule to apply.\n ValueRuleAudienceCondition audience_condition = 6;\n\n // Condition for itinerary that must be satisfied for the value rule to apply.\n ValueRuleItineraryCondition itinerary_condition = 9;\n\n // Output only. The resource name of the conversion value rule's owner\n // customer. When the value rule is inherited from a manager customer,\n // owner_customer will be the resource name of the manager whereas the\n // customer in the resource_name will be of the requesting serving customer.\n // ** Read-only **\n string owner_customer = 7 [\n (google.api.field_behavior) = OUTPUT_ONLY,\n (google.api.resource_reference) = {\n type: \"googleads.googleapis.com/Customer\"\n }\n ];\n\n // The status of the conversion value rule.\n- google.ads.googleads.v18.enums.ConversionValueRuleStatusEnum\n+ google.ads.googleads.v19.enums.ConversionValueRuleStatusEnum\n .ConversionValueRuleStatus status = 8;\n }\n```"]]