# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/google_ads/v4/resources/campaign.proto require 'google/protobuf' require 'google/ads/google_ads/v4/common/bidding_pb' require 'google/ads/google_ads/v4/common/custom_parameter_pb' require 'google/ads/google_ads/v4/common/frequency_cap_pb' require 'google/ads/google_ads/v4/common/real_time_bidding_setting_pb' require 'google/ads/google_ads/v4/common/targeting_setting_pb' require 'google/ads/google_ads/v4/enums/ad_serving_optimization_status_pb' require 'google/ads/google_ads/v4/enums/advertising_channel_sub_type_pb' require 'google/ads/google_ads/v4/enums/advertising_channel_type_pb' require 'google/ads/google_ads/v4/enums/app_campaign_app_store_pb' require 'google/ads/google_ads/v4/enums/app_campaign_bidding_strategy_goal_type_pb' require 'google/ads/google_ads/v4/enums/bidding_strategy_type_pb' require 'google/ads/google_ads/v4/enums/brand_safety_suitability_pb' require 'google/ads/google_ads/v4/enums/campaign_experiment_type_pb' require 'google/ads/google_ads/v4/enums/campaign_serving_status_pb' require 'google/ads/google_ads/v4/enums/campaign_status_pb' require 'google/ads/google_ads/v4/enums/location_source_type_pb' require 'google/ads/google_ads/v4/enums/negative_geo_target_type_pb' require 'google/ads/google_ads/v4/enums/optimization_goal_type_pb' require 'google/ads/google_ads/v4/enums/payment_mode_pb' require 'google/ads/google_ads/v4/enums/positive_geo_target_type_pb' require 'google/ads/google_ads/v4/enums/vanity_pharma_display_url_mode_pb' require 'google/ads/google_ads/v4/enums/vanity_pharma_text_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.Campaign" do optional :resource_name, :string, 1 optional :id, :message, 3, "google.protobuf.Int64Value" optional :name, :message, 4, "google.protobuf.StringValue" optional :status, :enum, 5, "google.ads.googleads.v4.enums.CampaignStatusEnum.CampaignStatus" optional :serving_status, :enum, 21, "google.ads.googleads.v4.enums.CampaignServingStatusEnum.CampaignServingStatus" optional :ad_serving_optimization_status, :enum, 8, "google.ads.googleads.v4.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus" optional :advertising_channel_type, :enum, 9, "google.ads.googleads.v4.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType" optional :advertising_channel_sub_type, :enum, 10, "google.ads.googleads.v4.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType" optional :tracking_url_template, :message, 11, "google.protobuf.StringValue" repeated :url_custom_parameters, :message, 12, "google.ads.googleads.v4.common.CustomParameter" optional :real_time_bidding_setting, :message, 39, "google.ads.googleads.v4.common.RealTimeBiddingSetting" optional :network_settings, :message, 14, "google.ads.googleads.v4.resources.Campaign.NetworkSettings" optional :hotel_setting, :message, 32, "google.ads.googleads.v4.resources.Campaign.HotelSettingInfo" optional :dynamic_search_ads_setting, :message, 33, "google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting" optional :shopping_setting, :message, 36, "google.ads.googleads.v4.resources.Campaign.ShoppingSetting" optional :targeting_setting, :message, 43, "google.ads.googleads.v4.common.TargetingSetting" optional :geo_target_type_setting, :message, 47, "google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting" optional :local_campaign_setting, :message, 50, "google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting" optional :app_campaign_setting, :message, 51, "google.ads.googleads.v4.resources.Campaign.AppCampaignSetting" repeated :labels, :message, 53, "google.protobuf.StringValue" optional :experiment_type, :enum, 17, "google.ads.googleads.v4.enums.CampaignExperimentTypeEnum.CampaignExperimentType" optional :base_campaign, :message, 28, "google.protobuf.StringValue" optional :campaign_budget, :message, 6, "google.protobuf.StringValue" optional :bidding_strategy_type, :enum, 22, "google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyType" optional :start_date, :message, 19, "google.protobuf.StringValue" optional :end_date, :message, 20, "google.protobuf.StringValue" optional :final_url_suffix, :message, 38, "google.protobuf.StringValue" repeated :frequency_caps, :message, 40, "google.ads.googleads.v4.common.FrequencyCapEntry" optional :video_brand_safety_suitability, :enum, 42, "google.ads.googleads.v4.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability" optional :vanity_pharma, :message, 44, "google.ads.googleads.v4.resources.Campaign.VanityPharma" optional :selective_optimization, :message, 45, "google.ads.googleads.v4.resources.Campaign.SelectiveOptimization" optional :optimization_goal_setting, :message, 54, "google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting" optional :tracking_setting, :message, 46, "google.ads.googleads.v4.resources.Campaign.TrackingSetting" optional :payment_mode, :enum, 52, "google.ads.googleads.v4.enums.PaymentModeEnum.PaymentMode" optional :optimization_score, :message, 55, "google.protobuf.DoubleValue" oneof :campaign_bidding_strategy do optional :bidding_strategy, :message, 23, "google.protobuf.StringValue" optional :commission, :message, 49, "google.ads.googleads.v4.common.Commission" optional :manual_cpc, :message, 24, "google.ads.googleads.v4.common.ManualCpc" optional :manual_cpm, :message, 25, "google.ads.googleads.v4.common.ManualCpm" optional :manual_cpv, :message, 37, "google.ads.googleads.v4.common.ManualCpv" optional :maximize_conversions, :message, 30, "google.ads.googleads.v4.common.MaximizeConversions" optional :maximize_conversion_value, :message, 31, "google.ads.googleads.v4.common.MaximizeConversionValue" optional :target_cpa, :message, 26, "google.ads.googleads.v4.common.TargetCpa" optional :target_impression_share, :message, 48, "google.ads.googleads.v4.common.TargetImpressionShare" optional :target_roas, :message, 29, "google.ads.googleads.v4.common.TargetRoas" optional :target_spend, :message, 27, "google.ads.googleads.v4.common.TargetSpend" optional :percent_cpc, :message, 34, "google.ads.googleads.v4.common.PercentCpc" optional :target_cpm, :message, 41, "google.ads.googleads.v4.common.TargetCpm" end end add_message "google.ads.googleads.v4.resources.Campaign.NetworkSettings" do optional :target_google_search, :message, 1, "google.protobuf.BoolValue" optional :target_search_network, :message, 2, "google.protobuf.BoolValue" optional :target_content_network, :message, 3, "google.protobuf.BoolValue" optional :target_partner_search_network, :message, 4, "google.protobuf.BoolValue" end add_message "google.ads.googleads.v4.resources.Campaign.HotelSettingInfo" do optional :hotel_center_id, :message, 1, "google.protobuf.Int64Value" end add_message "google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting" do repeated :optimization_goal_types, :enum, 1, "google.ads.googleads.v4.enums.OptimizationGoalTypeEnum.OptimizationGoalType" end add_message "google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting" do optional :domain_name, :message, 1, "google.protobuf.StringValue" optional :language_code, :message, 2, "google.protobuf.StringValue" optional :use_supplied_urls_only, :message, 3, "google.protobuf.BoolValue" repeated :feeds, :message, 5, "google.protobuf.StringValue" end add_message "google.ads.googleads.v4.resources.Campaign.ShoppingSetting" do optional :merchant_id, :message, 1, "google.protobuf.Int64Value" optional :sales_country, :message, 2, "google.protobuf.StringValue" optional :campaign_priority, :message, 3, "google.protobuf.Int32Value" optional :enable_local, :message, 4, "google.protobuf.BoolValue" end add_message "google.ads.googleads.v4.resources.Campaign.TrackingSetting" do optional :tracking_url, :message, 1, "google.protobuf.StringValue" end add_message "google.ads.googleads.v4.resources.Campaign.AppCampaignSetting" do optional :bidding_strategy_goal_type, :enum, 1, "google.ads.googleads.v4.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType" optional :app_id, :message, 2, "google.protobuf.StringValue" optional :app_store, :enum, 3, "google.ads.googleads.v4.enums.AppCampaignAppStoreEnum.AppCampaignAppStore" end add_message "google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting" do optional :positive_geo_target_type, :enum, 1, "google.ads.googleads.v4.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType" optional :negative_geo_target_type, :enum, 2, "google.ads.googleads.v4.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType" end add_message "google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting" do optional :location_source_type, :enum, 1, "google.ads.googleads.v4.enums.LocationSourceTypeEnum.LocationSourceType" end add_message "google.ads.googleads.v4.resources.Campaign.VanityPharma" do optional :vanity_pharma_display_url_mode, :enum, 1, "google.ads.googleads.v4.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode" optional :vanity_pharma_text, :enum, 2, "google.ads.googleads.v4.enums.VanityPharmaTextEnum.VanityPharmaText" end add_message "google.ads.googleads.v4.resources.Campaign.SelectiveOptimization" do repeated :conversion_actions, :message, 1, "google.protobuf.StringValue" end end module Google::Ads::GoogleAds::V4::Resources Campaign = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign").msgclass Campaign::NetworkSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.NetworkSettings").msgclass Campaign::HotelSettingInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.HotelSettingInfo").msgclass Campaign::OptimizationGoalSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting").msgclass Campaign::DynamicSearchAdsSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting").msgclass Campaign::ShoppingSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.ShoppingSetting").msgclass Campaign::TrackingSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.TrackingSetting").msgclass Campaign::AppCampaignSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.AppCampaignSetting").msgclass Campaign::GeoTargetTypeSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting").msgclass Campaign::LocalCampaignSetting = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting").msgclass Campaign::VanityPharma = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.VanityPharma").msgclass Campaign::SelectiveOptimization = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v4.resources.Campaign.SelectiveOptimization").msgclass end