# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v4/resources/ad_group_criterion.proto require 'google/protobuf' require 'google/ads/google_ads/v4/common/criteria_pb' require 'google/ads/google_ads/v4/common/custom_parameter_pb' require 'google/ads/google_ads/v4/enums/ad_group_criterion_approval_status_pb' require 'google/ads/google_ads/v4/enums/ad_group_criterion_status_pb' require 'google/ads/google_ads/v4/enums/bidding_source_pb' require 'google/ads/google_ads/v4/enums/criterion_system_serving_status_pb' require 'google/ads/google_ads/v4/enums/criterion_type_pb' require 'google/ads/google_ads/v4/enums/quality_score_bucket_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/wrappers_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v4.resources.AdGroupCriterion" do optional :resource_name, :string, 1 optional :criterion_id, :message, 26, "google.protobuf.Int64Value" optional :status, :enum, 3, "google.ads.googleads.v4.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus" optional :quality_info, :message, 4, "google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo" optional :ad_group, :message, 5, "google.protobuf.StringValue" optional :type, :enum, 25, "google.ads.googleads.v4.enums.CriterionTypeEnum.CriterionType" optional :negative, :message, 31, "google.protobuf.BoolValue" optional :system_serving_status, :enum, 52, "google.ads.googleads.v4.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus" optional :approval_status, :enum, 53, "google.ads.googleads.v4.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus" repeated :disapproval_reasons, :message, 55, "google.protobuf.StringValue" optional :bid_modifier, :message, 44, "google.protobuf.DoubleValue" optional :cpc_bid_micros, :message, 16, "google.protobuf.Int64Value" optional :cpm_bid_micros, :message, 17, "google.protobuf.Int64Value" optional :cpv_bid_micros, :message, 24, "google.protobuf.Int64Value" optional :percent_cpc_bid_micros, :message, 33, "google.protobuf.Int64Value" optional :effective_cpc_bid_micros, :message, 18, "google.protobuf.Int64Value" optional :effective_cpm_bid_micros, :message, 19, "google.protobuf.Int64Value" optional :effective_cpv_bid_micros, :message, 20, "google.protobuf.Int64Value" optional :effective_percent_cpc_bid_micros, :message, 34, "google.protobuf.Int64Value" optional :effective_cpc_bid_source, :enum, 21, "google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSource" optional :effective_cpm_bid_source, :enum, 22, "google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSource" optional :effective_cpv_bid_source, :enum, 23, "google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSource" optional :effective_percent_cpc_bid_source, :enum, 35, "google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSource" optional :position_estimates, :message, 10, "google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates" repeated :final_urls, :message, 11, "google.protobuf.StringValue" repeated :final_mobile_urls, :message, 51, "google.protobuf.StringValue" optional :final_url_suffix, :message, 50, "google.protobuf.StringValue" optional :tracking_url_template, :message, 13, "google.protobuf.StringValue" repeated :url_custom_parameters, :message, 14, "google.ads.googleads.v4.common.CustomParameter" oneof :criterion do optional :keyword, :message, 27, "google.ads.googleads.v4.common.KeywordInfo" optional :placement, :message, 28, "google.ads.googleads.v4.common.PlacementInfo" optional :mobile_app_category, :message, 29, "google.ads.googleads.v4.common.MobileAppCategoryInfo" optional :mobile_application, :message, 30, "google.ads.googleads.v4.common.MobileApplicationInfo" optional :listing_group, :message, 32, "google.ads.googleads.v4.common.ListingGroupInfo" optional :age_range, :message, 36, "google.ads.googleads.v4.common.AgeRangeInfo" optional :gender, :message, 37, "google.ads.googleads.v4.common.GenderInfo" optional :income_range, :message, 38, "google.ads.googleads.v4.common.IncomeRangeInfo" optional :parental_status, :message, 39, "google.ads.googleads.v4.common.ParentalStatusInfo" optional :user_list, :message, 42, "google.ads.googleads.v4.common.UserListInfo" optional :youtube_video, :message, 40, "google.ads.googleads.v4.common.YouTubeVideoInfo" optional :youtube_channel, :message, 41, "google.ads.googleads.v4.common.YouTubeChannelInfo" optional :topic, :message, 43, "google.ads.googleads.v4.common.TopicInfo" optional :user_interest, :message, 45, "google.ads.googleads.v4.common.UserInterestInfo" optional :webpage, :message, 46, "google.ads.googleads.v4.common.WebpageInfo" optional :app_payment_model, :message, 47, "google.ads.googleads.v4.common.AppPaymentModelInfo" optional :custom_affinity, :message, 48, "google.ads.googleads.v4.common.CustomAffinityInfo" optional :custom_intent, :message, 49, "google.ads.googleads.v4.common.CustomIntentInfo" end end add_message "google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo" do optional :quality_score, :message, 1, "google.protobuf.Int32Value" optional :creative_quality_score, :enum, 2, "google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket" optional :post_click_quality_score, :enum, 3, "google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket" optional :search_predicted_ctr, :enum, 4, "google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket" end add_message "google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates" do optional :first_page_cpc_micros, :message, 1, "google.protobuf.Int64Value" optional :first_position_cpc_micros, :message, 2, "google.protobuf.Int64Value" optional :top_of_page_cpc_micros, :message, 3, "google.protobuf.Int64Value" optional :estimated_add_clicks_at_first_position_cpc, :message, 4, "google.protobuf.Int64Value" optional :estimated_add_cost_at_first_position_cpc, :message, 5, "google.protobuf.Int64Value" end end module Google::Ads::GoogleAds::V4::Resources AdGroupCriterion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.AdGroupCriterion").msgclass AdGroupCriterion::QualityInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo").msgclass AdGroupCriterion::PositionEstimates = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates").msgclass end