# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v0/common/user_lists.proto require 'google/protobuf' require 'google/ads/google_ads/v0/enums/customer_match_upload_key_type_pb' require 'google/ads/google_ads/v0/enums/user_list_combined_rule_operator_pb' require 'google/ads/google_ads/v0/enums/user_list_crm_data_source_type_pb' require 'google/ads/google_ads/v0/enums/user_list_date_rule_item_operator_pb' require 'google/ads/google_ads/v0/enums/user_list_logical_rule_operator_pb' require 'google/ads/google_ads/v0/enums/user_list_number_rule_item_operator_pb' require 'google/ads/google_ads/v0/enums/user_list_prepopulation_status_pb' require 'google/ads/google_ads/v0/enums/user_list_rule_type_pb' require 'google/ads/google_ads/v0/enums/user_list_string_rule_item_operator_pb' require 'google/protobuf/wrappers_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v0.common.SimilarUserListInfo" do optional :seed_user_list, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.common.CrmBasedUserListInfo" do optional :app_id, :message, 1, "google.protobuf.StringValue" optional :upload_key_type, :enum, 2, "google.ads.googleads.v0.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType" optional :data_source_type, :enum, 3, "google.ads.googleads.v0.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType" end add_message "google.ads.googleads.v0.common.UserListRuleInfo" do optional :rule_type, :enum, 1, "google.ads.googleads.v0.enums.UserListRuleTypeEnum.UserListRuleType" repeated :rule_item_groups, :message, 2, "google.ads.googleads.v0.common.UserListRuleItemGroupInfo" end add_message "google.ads.googleads.v0.common.UserListRuleItemGroupInfo" do repeated :rule_items, :message, 1, "google.ads.googleads.v0.common.UserListRuleItemInfo" end add_message "google.ads.googleads.v0.common.UserListRuleItemInfo" do optional :name, :message, 1, "google.protobuf.StringValue" oneof :rule_item do optional :number_rule_item, :message, 2, "google.ads.googleads.v0.common.UserListNumberRuleItemInfo" optional :string_rule_item, :message, 3, "google.ads.googleads.v0.common.UserListStringRuleItemInfo" optional :date_rule_item, :message, 4, "google.ads.googleads.v0.common.UserListDateRuleItemInfo" end end add_message "google.ads.googleads.v0.common.UserListDateRuleItemInfo" do optional :operator, :enum, 1, "google.ads.googleads.v0.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator" optional :value, :message, 2, "google.protobuf.StringValue" optional :offset_in_days, :message, 3, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v0.common.UserListNumberRuleItemInfo" do optional :operator, :enum, 1, "google.ads.googleads.v0.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator" optional :value, :message, 2, "google.protobuf.DoubleValue" end add_message "google.ads.googleads.v0.common.UserListStringRuleItemInfo" do optional :operator, :enum, 1, "google.ads.googleads.v0.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator" optional :value, :message, 2, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.common.CombinedRuleUserListInfo" do optional :left_operand, :message, 1, "google.ads.googleads.v0.common.UserListRuleInfo" optional :right_operand, :message, 2, "google.ads.googleads.v0.common.UserListRuleInfo" optional :rule_operator, :enum, 3, "google.ads.googleads.v0.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator" end add_message "google.ads.googleads.v0.common.DateSpecificRuleUserListInfo" do optional :rule, :message, 1, "google.ads.googleads.v0.common.UserListRuleInfo" optional :start_date, :message, 2, "google.protobuf.StringValue" optional :end_date, :message, 3, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.common.ExpressionRuleUserListInfo" do optional :rule, :message, 1, "google.ads.googleads.v0.common.UserListRuleInfo" end add_message "google.ads.googleads.v0.common.RuleBasedUserListInfo" do optional :prepopulation_status, :enum, 1, "google.ads.googleads.v0.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus" oneof :rule_based_user_list do optional :combined_rule_user_list, :message, 2, "google.ads.googleads.v0.common.CombinedRuleUserListInfo" optional :date_specific_rule_user_list, :message, 3, "google.ads.googleads.v0.common.DateSpecificRuleUserListInfo" optional :expression_rule_user_list, :message, 4, "google.ads.googleads.v0.common.ExpressionRuleUserListInfo" end end add_message "google.ads.googleads.v0.common.LogicalUserListInfo" do repeated :rules, :message, 1, "google.ads.googleads.v0.common.UserListLogicalRuleInfo" end add_message "google.ads.googleads.v0.common.UserListLogicalRuleInfo" do optional :operator, :enum, 1, "google.ads.googleads.v0.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator" repeated :rule_operands, :message, 2, "google.ads.googleads.v0.common.LogicalUserListOperandInfo" end add_message "google.ads.googleads.v0.common.LogicalUserListOperandInfo" do optional :user_list, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v0.common.BasicUserListInfo" do repeated :actions, :message, 1, "google.ads.googleads.v0.common.UserListActionInfo" end add_message "google.ads.googleads.v0.common.UserListActionInfo" do oneof :user_list_action do optional :conversion_action, :message, 1, "google.protobuf.StringValue" optional :remarketing_action, :message, 2, "google.protobuf.StringValue" end end end module Google::Ads::GoogleAds::V0::Common SimilarUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.SimilarUserListInfo").msgclass CrmBasedUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.CrmBasedUserListInfo").msgclass UserListRuleInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListRuleInfo").msgclass UserListRuleItemGroupInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListRuleItemGroupInfo").msgclass UserListRuleItemInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListRuleItemInfo").msgclass UserListDateRuleItemInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListDateRuleItemInfo").msgclass UserListNumberRuleItemInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListNumberRuleItemInfo").msgclass UserListStringRuleItemInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListStringRuleItemInfo").msgclass CombinedRuleUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.CombinedRuleUserListInfo").msgclass DateSpecificRuleUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.DateSpecificRuleUserListInfo").msgclass ExpressionRuleUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.ExpressionRuleUserListInfo").msgclass RuleBasedUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.RuleBasedUserListInfo").msgclass LogicalUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.LogicalUserListInfo").msgclass UserListLogicalRuleInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListLogicalRuleInfo").msgclass LogicalUserListOperandInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.LogicalUserListOperandInfo").msgclass BasicUserListInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.BasicUserListInfo").msgclass UserListActionInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.common.UserListActionInfo").msgclass end