# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v0/resources/ad_group_criterion.proto require 'google/protobuf' require 'google/ads/google_ads/v0/common/criteria_pb' require 'google/ads/google_ads/v0/common/custom_parameter_pb' require 'google/ads/google_ads/v0/enums/ad_group_criterion_status_pb' require 'google/ads/google_ads/v0/enums/bidding_source_pb' require 'google/ads/google_ads/v0/enums/criterion_type_pb' require 'google/ads/google_ads/v0/enums/quality_score_bucket_pb' require 'google/protobuf/wrappers_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "google.ads.googleads.v0.resources.AdGroupCriterion" do optional :resource_name, :string, 1 optional :criterion_id, :message, 26, "google.protobuf.Int64Value" optional :status, :enum, 3, "google.ads.googleads.v0.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus" optional :quality_info, :message, 4, "google.ads.googleads.v0.resources.AdGroupCriterion.QualityInfo" optional :ad_group, :message, 5, "google.protobuf.StringValue" optional :type, :enum, 25, "google.ads.googleads.v0.enums.CriterionTypeEnum.CriterionType" optional :negative, :message, 31, "google.protobuf.BoolValue" 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.v0.enums.BiddingSourceEnum.BiddingSource" optional :effective_cpm_bid_source, :enum, 22, "google.ads.googleads.v0.enums.BiddingSourceEnum.BiddingSource" optional :effective_cpv_bid_source, :enum, 23, "google.ads.googleads.v0.enums.BiddingSourceEnum.BiddingSource" optional :effective_percent_cpc_bid_source, :enum, 35, "google.ads.googleads.v0.enums.BiddingSourceEnum.BiddingSource" optional :position_estimates, :message, 10, "google.ads.googleads.v0.resources.AdGroupCriterion.PositionEstimates" repeated :final_urls, :message, 11, "google.protobuf.StringValue" optional :tracking_url_template, :message, 13, "google.protobuf.StringValue" repeated :url_custom_parameters, :message, 14, "google.ads.googleads.v0.common.CustomParameter" oneof :criterion do optional :keyword, :message, 27, "google.ads.googleads.v0.common.KeywordInfo" optional :listing_group, :message, 32, "google.ads.googleads.v0.common.ListingGroupInfo" end end add_message "google.ads.googleads.v0.resources.AdGroupCriterion.QualityInfo" do optional :quality_score, :message, 1, "google.protobuf.Int32Value" optional :creative_quality_score, :enum, 2, "google.ads.googleads.v0.enums.QualityScoreBucketEnum.QualityScoreBucket" optional :post_click_quality_score, :enum, 3, "google.ads.googleads.v0.enums.QualityScoreBucketEnum.QualityScoreBucket" optional :search_predicted_ctr, :enum, 4, "google.ads.googleads.v0.enums.QualityScoreBucketEnum.QualityScoreBucket" end add_message "google.ads.googleads.v0.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" end end module Google module Ads module GoogleAds module V0 module Resources AdGroupCriterion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.AdGroupCriterion").msgclass AdGroupCriterion::QualityInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.AdGroupCriterion.QualityInfo").msgclass AdGroupCriterion::PositionEstimates = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v0.resources.AdGroupCriterion.PositionEstimates").msgclass end end end end end