google-ads-googleads 4.0.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +2 -0
- data/Rakefile +1 -25
- data/lib/google/ads/google_ads/api_versions.rb +2 -2
- data/lib/google/ads/google_ads/autoboxing_fields.rb +1 -0
- data/lib/google/ads/google_ads/error_transformer.rb +37 -0
- data/lib/google/ads/google_ads/factories.rb +21 -2
- data/lib/google/ads/google_ads/factories/v3/enums.rb +2595 -0
- data/lib/google/ads/google_ads/factories/v3/operations.rb +3698 -0
- data/lib/google/ads/google_ads/factories/v3/resources.rb +5770 -0
- data/lib/google/ads/google_ads/factories/v3/services.rb +2173 -0
- data/lib/google/ads/google_ads/google_ads_client.rb +12 -29
- data/lib/google/ads/google_ads/logging_interceptor.rb +26 -0
- data/lib/google/ads/google_ads/search_stream_intercepting_factory.rb +49 -0
- data/lib/google/ads/google_ads/service_lookup.rb +13 -33
- data/lib/google/ads/google_ads/utils/v3/path_lookup_util.rb +876 -0
- data/lib/google/ads/google_ads/v3/common/ad_asset_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/common/ad_type_infos_pb.rb +228 -0
- data/lib/google/ads/google_ads/v3/common/asset_types_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/common/bidding_pb.rb +68 -0
- data/lib/google/ads/google_ads/v3/common/click_location_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/common/criteria_pb.rb +297 -0
- data/lib/google/ads/google_ads/v3/common/criterion_category_availability_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/common/custom_parameter_pb.rb +17 -0
- data/lib/google/ads/google_ads/v3/common/dates_pb.rb +17 -0
- data/lib/google/ads/google_ads/v3/common/explorer_auto_optimizer_setting_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/common/extensions_pb.rb +138 -0
- data/lib/google/ads/google_ads/v3/common/feed_common_pb.rb +17 -0
- data/lib/google/ads/google_ads/v3/common/final_app_url_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/common/frequency_cap_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/common/keyword_plan_common_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/common/matching_function_pb.rb +52 -0
- data/lib/google/ads/google_ads/v3/common/metrics_pb.rb +128 -0
- data/lib/google/ads/google_ads/v3/common/policy_pb.rb +91 -0
- data/lib/google/ads/google_ads/v3/common/real_time_bidding_setting_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/common/segments_pb.rb +119 -0
- data/lib/google/ads/google_ads/v3/common/simulation_pb.rb +72 -0
- data/lib/google/ads/google_ads/v3/common/tag_snippet_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/common/targeting_setting_pb.rb +35 -0
- data/lib/google/ads/google_ads/v3/common/text_label_pb.rb +17 -0
- data/lib/google/ads/google_ads/v3/common/url_collection_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/common/user_lists_pb.rb +114 -0
- data/lib/google/ads/google_ads/v3/common/value_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/access_reason_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/access_role_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_status_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/account_budget_proposal_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/account_budget_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/ad_customizer_placeholder_field_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_ad_rotation_mode_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_ad_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_approval_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_criterion_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/ad_group_type_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/enums/ad_network_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/ad_serving_optimization_status_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/ad_strength_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/ad_type_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/enums/advertising_channel_sub_type_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/enums/advertising_channel_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/affiliate_location_feed_relationship_type_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/affiliate_location_placeholder_field_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/enums/age_range_type_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/app_campaign_app_store_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/app_campaign_bidding_strategy_goal_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/app_payment_model_type_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/app_placeholder_field_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/enums/app_store_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/app_url_operating_system_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/asset_field_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/asset_performance_label_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/asset_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/attribution_model_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/bid_modifier_source_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/bidding_source_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/bidding_strategy_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/bidding_strategy_type_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/enums/billing_setup_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/brand_safety_suitability_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/budget_delivery_method_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/budget_period_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/budget_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/budget_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/call_conversion_reporting_state_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/call_placeholder_field_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/callout_placeholder_field_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_criterion_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_draft_status_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_experiment_status_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_experiment_traffic_split_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_experiment_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_serving_status_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_shared_set_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/campaign_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/change_status_operation_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/change_status_resource_type_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/enums/click_type_pb.rb +72 -0
- data/lib/google/ads/google_ads/v3/enums/content_label_type_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_action_category_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_action_counting_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_action_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_action_type_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_adjustment_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_attribution_event_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_lag_bucket_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/enums/conversion_or_adjustment_lag_bucket_pb.rb +60 -0
- data/lib/google/ads/google_ads/v3/enums/criterion_category_channel_availability_mode_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/criterion_category_locale_availability_mode_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/criterion_system_serving_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/criterion_type_pb.rb +49 -0
- data/lib/google/ads/google_ads/v3/enums/custom_interest_member_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/custom_interest_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/custom_interest_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/custom_placeholder_field_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/enums/customer_match_upload_key_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/customer_pay_per_conversion_eligibility_failure_reason_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/data_driven_model_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/day_of_week_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/device_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/display_ad_format_setting_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/display_upload_product_type_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/enums/distance_bucket_pb.rb +46 -0
- data/lib/google/ads/google_ads/v3/enums/dsa_page_feed_criterion_field_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/education_placeholder_field_pb.rb +36 -0
- data/lib/google/ads/google_ads/v3/enums/extension_setting_device_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/extension_type_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/enums/external_conversion_source_pb.rb +40 -0
- data/lib/google/ads/google_ads/v3/enums/feed_attribute_type_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_quality_approval_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_quality_disapproval_reason_pb.rb +37 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_target_device_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_target_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_target_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/feed_item_validation_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/feed_link_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_mapping_criterion_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_mapping_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_origin_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/feed_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/flight_placeholder_field_pb.rb +36 -0
- data/lib/google/ads/google_ads/v3/enums/frequency_cap_event_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/frequency_cap_level_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/frequency_cap_time_unit_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/gender_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/geo_target_constant_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/geo_targeting_restriction_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/geo_targeting_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/google_ads_field_category_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/google_ads_field_data_type_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/enums/hotel_date_selection_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/hotel_placeholder_field_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/enums/hotel_price_bucket_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/hotel_rate_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/income_range_type_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/interaction_event_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/interaction_type_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/invoice_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/job_placeholder_field_pb.rb +36 -0
- data/lib/google/ads/google_ads/v3/enums/keyword_match_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/keyword_plan_competition_level_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/keyword_plan_forecast_interval_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/keyword_plan_network_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/label_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/legacy_app_install_ad_app_store_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/listing_group_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/local_placeholder_field_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/enums/location_extension_targeting_criterion_field_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/location_group_radius_units_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/location_placeholder_field_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/enums/manager_link_status_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/matching_function_context_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/matching_function_operator_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/media_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/merchant_center_link_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/message_placeholder_field_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/mime_type_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/enums/minute_of_hour_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/mobile_device_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/month_of_year_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/enums/mutate_job_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/negative_geo_target_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/operating_system_version_operator_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/page_one_promoted_strategy_goal_pb.rb +11 -0
- data/lib/google/ads/google_ads/v3/enums/parental_status_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/payment_mode_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/placeholder_type_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/enums/placement_type_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/policy_approval_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/policy_review_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/policy_topic_entry_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_device_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/positive_geo_target_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/preferred_content_type_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/price_extension_price_qualifier_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/price_extension_price_unit_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/price_extension_type_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/enums/price_placeholder_field_pb.rb +72 -0
- data/lib/google/ads/google_ads/v3/enums/product_bidding_category_level_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/product_bidding_category_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/product_channel_exclusivity_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/product_channel_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/product_condition_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/product_custom_attribute_index_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/product_type_level_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/promotion_extension_discount_modifier_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/promotion_extension_occasion_pb.rb +56 -0
- data/lib/google/ads/google_ads/v3/enums/promotion_placeholder_field_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/enums/proximity_radius_units_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/quality_score_bucket_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/reach_plan_ad_length_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/reach_plan_age_range_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/enums/reach_plan_network_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/real_estate_placeholder_field_pb.rb +37 -0
- data/lib/google/ads/google_ads/v3/enums/recommendation_type_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/enums/search_engine_results_page_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/search_term_match_type_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/search_term_targeting_status_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/served_asset_field_type_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/shared_set_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/shared_set_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/simulation_modification_method_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/simulation_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/sitelink_placeholder_field_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/slot_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/enums/spending_limit_type_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/structured_snippet_placeholder_field_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/summary_row_setting_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/system_managed_entity_source_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/target_cpa_opt_in_recommendation_goal_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/target_impression_share_location_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/targeting_dimension_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/enums/time_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/tracking_code_page_format_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/tracking_code_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/travel_placeholder_field_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/enums/user_interest_taxonomy_type_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_access_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_closing_reason_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_combined_rule_operator_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_crm_data_source_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_date_rule_item_operator_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_logical_rule_operator_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_membership_status_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_number_rule_item_operator_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_prepopulation_status_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_rule_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_size_range_pb.rb +35 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_string_rule_item_operator_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/enums/user_list_type_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/enums/vanity_pharma_display_url_mode_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/enums/vanity_pharma_text_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/enums/webpage_condition_operand_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/enums/webpage_condition_operator_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/access_invitation_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/account_budget_proposal_error_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/errors/ad_customizer_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/ad_error_pb.rb +154 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_ad_error_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_bid_modifier_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_criterion_error_pb.rb +56 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_error_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/errors/ad_group_feed_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/ad_parameter_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/ad_sharing_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/adx_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/asset_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/authentication_error_pb.rb +37 -0
- data/lib/google/ads/google_ads/v3/errors/authorization_error_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/errors/bidding_error_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/errors/bidding_strategy_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/billing_setup_error_pb.rb +36 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_budget_error_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_criterion_error_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_draft_error_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_error_pb.rb +59 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_experiment_error_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_feed_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/campaign_shared_set_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/change_status_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/collection_size_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/context_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/conversion_action_error_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/errors/conversion_adjustment_upload_error_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/errors/conversion_upload_error_pb.rb +40 -0
- data/lib/google/ads/google_ads/v3/errors/country_code_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/criterion_error_pb.rb +117 -0
- data/lib/google/ads/google_ads/v3/errors/currency_code_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/custom_interest_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/customer_client_link_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/customer_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/customer_feed_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/customer_manager_link_error_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/errors/database_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/date_error_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/errors/date_range_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/distinct_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/enum_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/errors_pb.rb +273 -0
- data/lib/google/ads/google_ads/v3/errors/extension_feed_item_error_pb.rb +64 -0
- data/lib/google/ads/google_ads/v3/errors/extension_setting_error_pb.rb +83 -0
- data/lib/google/ads/google_ads/v3/errors/feed_attribute_reference_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/feed_error_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/errors/feed_item_error_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/errors/feed_item_target_error_pb.rb +27 -0
- data/lib/google/ads/google_ads/v3/errors/feed_item_validation_error_pb.rb +116 -0
- data/lib/google/ads/google_ads/v3/errors/feed_mapping_error_pb.rb +36 -0
- data/lib/google/ads/google_ads/v3/errors/field_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/field_mask_error_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/errors/function_error_pb.rb +35 -0
- data/lib/google/ads/google_ads/v3/errors/function_parsing_error_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/errors/geo_target_constant_suggestion_error_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/errors/header_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/id_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/image_error_pb.rb +57 -0
- data/lib/google/ads/google_ads/v3/errors/internal_error_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/errors/invoice_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_ad_group_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_campaign_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_error_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_idea_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_keyword_error_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/errors/keyword_plan_negative_keyword_error_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/errors/label_error_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/errors/language_code_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/list_operation_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/manager_link_error_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/errors/media_bundle_error_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/errors/media_file_error_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/errors/media_upload_error_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/errors/multiplier_error_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/errors/mutate_error_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/errors/mutate_job_error_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/errors/new_resource_creation_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/not_empty_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/not_whitelisted_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/null_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/operation_access_denied_error_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/errors/operator_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/partial_failure_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/payments_account_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/policy_finding_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/policy_validation_parameter_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/policy_violation_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/query_error_pb.rb +72 -0
- data/lib/google/ads/google_ads/v3/errors/quota_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/range_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/reach_plan_error_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/errors/recommendation_error_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/errors/region_code_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/request_error_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/errors/resource_access_denied_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/resource_count_limit_exceeded_error_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/errors/setting_error_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/errors/shared_criterion_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/shared_set_error_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/errors/size_limit_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/string_format_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/errors/string_length_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/errors/time_zone_error_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/errors/url_field_error_pb.rb +71 -0
- data/lib/google/ads/google_ads/v3/errors/user_list_error_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/errors/youtube_video_registration_error_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/account_budget_pb.rb +70 -0
- data/lib/google/ads/google_ads/v3/resources/account_budget_proposal_pb.rb +52 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_asset_view_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_label_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_ad_pb.rb +34 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_audience_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_bid_modifier_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_label_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_pb.rb +87 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_criterion_simulation_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_extension_setting_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_feed_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_label_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_pb.rb +50 -0
- data/lib/google/ads/google_ads/v3/resources/ad_group_simulation_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/resources/ad_parameter_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/resources/ad_pb.rb +58 -0
- data/lib/google/ads/google_ads/v3/resources/ad_schedule_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/age_range_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/asset_pb.rb +28 -0
- data/lib/google/ads/google_ads/v3/resources/bidding_strategy_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/resources/billing_setup_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_audience_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_bid_modifier_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_budget_pb.rb +37 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_criterion_pb.rb +55 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_criterion_simulation_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_draft_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_experiment_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_extension_setting_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_feed_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_label_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_pb.rb +132 -0
- data/lib/google/ads/google_ads/v3/resources/campaign_shared_set_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/carrier_constant_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/resources/change_status_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/resources/click_view_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/conversion_action_pb.rb +50 -0
- data/lib/google/ads/google_ads/v3/resources/currency_constant_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/custom_interest_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/resources/customer_client_link_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/customer_client_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/resources/customer_extension_setting_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/customer_feed_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/resources/customer_label_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/customer_manager_link_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/customer_negative_criterion_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/resources/customer_pb.rb +47 -0
- data/lib/google/ads/google_ads/v3/resources/detail_placement_view_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/display_keyword_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/distance_view_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/resources/domain_category_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/dynamic_search_ads_search_term_view_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/resources/expanded_landing_page_view_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/resources/extension_feed_item_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/resources/feed_item_pb.rb +70 -0
- data/lib/google/ads/google_ads/v3/resources/feed_item_target_pb.rb +33 -0
- data/lib/google/ads/google_ads/v3/resources/feed_mapping_pb.rb +76 -0
- data/lib/google/ads/google_ads/v3/resources/feed_pb.rb +69 -0
- data/lib/google/ads/google_ads/v3/resources/feed_placeholder_view_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/resources/gender_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/geo_target_constant_pb.rb +24 -0
- data/lib/google/ads/google_ads/v3/resources/geographic_view_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/resources/google_ads_field_pb.rb +32 -0
- data/lib/google/ads/google_ads/v3/resources/group_placement_view_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/hotel_group_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/hotel_performance_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/invoice_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_ad_group_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_campaign_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_keyword_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_negative_keyword_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_plan_pb.rb +29 -0
- data/lib/google/ads/google_ads/v3/resources/keyword_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/label_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/landing_page_view_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/resources/language_constant_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/location_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/managed_placement_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/media_file_pb.rb +50 -0
- data/lib/google/ads/google_ads/v3/resources/merchant_center_link_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/mobile_app_category_constant_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/mobile_device_constant_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/mutate_job_pb.rb +31 -0
- data/lib/google/ads/google_ads/v3/resources/operating_system_version_constant_pb.rb +23 -0
- data/lib/google/ads/google_ads/v3/resources/paid_organic_search_term_view_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/resources/parental_status_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/payments_account_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/resources/product_bidding_category_constant_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/resources/product_group_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/recommendation_pb.rb +131 -0
- data/lib/google/ads/google_ads/v3/resources/remarketing_action_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/search_term_view_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/resources/shared_criterion_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/resources/shared_set_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/shopping_performance_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/topic_constant_pb.rb +20 -0
- data/lib/google/ads/google_ads/v3/resources/topic_view_pb.rb +16 -0
- data/lib/google/ads/google_ads/v3/resources/user_interest_pb.rb +25 -0
- data/lib/google/ads/google_ads/v3/resources/user_list_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/resources/user_location_view_pb.rb +19 -0
- data/lib/google/ads/google_ads/v3/resources/video_pb.rb +21 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client.rb +292 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_proposal_service_services_pb.rb +57 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_service_client.rb +226 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/account_budget_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_asset_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_label_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_pb.rb +47 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_ad_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_audience_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_bid_modifier_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_label_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_pb.rb +47 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client.rb +288 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_extension_setting_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_feed_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_label_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_label_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/ad_group_simulation_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/ad_parameter_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_parameter_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/ad_parameter_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/ad_schedule_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/ad_service_client.rb +273 -0
- data/lib/google/ads/google_ads/v3/services/ad_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/ad_service_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/services/ad_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/age_range_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/age_range_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/age_range_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/age_range_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/asset_service_client.rb +275 -0
- data/lib/google/ads/google_ads/v3/services/asset_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/asset_service_pb.rb +37 -0
- data/lib/google/ads/google_ads/v3/services/asset_service_services_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/bidding_strategy_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/billing_setup_service_client.rb +281 -0
- data/lib/google/ads/google_ads/v3/services/billing_setup_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/billing_setup_service_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/services/billing_setup_service_services_pb.rb +51 -0
- data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/campaign_audience_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_bid_modifier_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/campaign_budget_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_budget_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_budget_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/campaign_criterion_simulation_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client.rb +451 -0
- data/lib/google/ads/google_ads/v3/services/campaign_draft_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v3/services/campaign_draft_service_pb.rb +61 -0
- data/lib/google/ads/google_ads/v3/services/campaign_draft_service_services_pb.rb +58 -0
- data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client.rb +637 -0
- data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_client_config.json +61 -0
- data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_pb.rb +84 -0
- data/lib/google/ads/google_ads/v3/services/campaign_experiment_service_services_pb.rb +81 -0
- data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client.rb +288 -0
- data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_extension_setting_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/campaign_feed_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_feed_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_feed_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/campaign_label_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/campaign_label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_label_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/campaign_label_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/campaign_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/campaign_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/campaign_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/campaign_shared_set_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/carrier_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/carrier_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/carrier_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/change_status_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/change_status_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/change_status_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/change_status_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/click_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/click_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/click_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/click_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/conversion_action_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/conversion_action_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/conversion_action_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/conversion_action_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client.rb +230 -0
- data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_pb.rb +59 -0
- data/lib/google/ads/google_ads/v3/services/conversion_adjustment_upload_service_services_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client.rb +291 -0
- data/lib/google/ads/google_ads/v3/services/conversion_upload_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/conversion_upload_service_pb.rb +76 -0
- data/lib/google/ads/google_ads/v3/services/conversion_upload_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/credentials.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/currency_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/currency_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/currency_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/currency_constant_service_services_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/services/custom_interest_service_client.rb +278 -0
- data/lib/google/ads/google_ads/v3/services/custom_interest_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/custom_interest_service_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/custom_interest_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client.rb +273 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_link_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_link_service_pb.rb +40 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_link_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/customer_client_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client.rb +288 -0
- data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/customer_extension_setting_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/customer_feed_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/customer_feed_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/customer_feed_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/customer_feed_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/customer_label_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/customer_label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/customer_label_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/customer_label_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client.rb +334 -0
- data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_client_config.json +41 -0
- data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_pb.rb +49 -0
- data/lib/google/ads/google_ads/v3/services/customer_manager_link_service_services_pb.rb +47 -0
- data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/customer_negative_criterion_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/customer_service_client.rb +365 -0
- data/lib/google/ads/google_ads/v3/services/customer_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v3/services/customer_service_pb.rb +58 -0
- data/lib/google/ads/google_ads/v3/services/customer_service_services_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/detail_placement_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/display_keyword_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/distance_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/distance_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/distance_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/distance_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/domain_category_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/domain_category_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/domain_category_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/domain_category_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/expanded_landing_page_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client.rb +287 -0
- data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/extension_feed_item_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client.rb +273 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_target_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_target_service_pb.rb +38 -0
- data/lib/google/ads/google_ads/v3/services/feed_item_target_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/feed_mapping_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/feed_mapping_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/feed_mapping_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/feed_placeholder_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/feed_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/feed_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/feed_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/feed_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/gender_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/gender_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/gender_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/gender_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client.rb +284 -0
- data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/services/geo_target_constant_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/geographic_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/geographic_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/geographic_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/geographic_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client.rb +293 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_field_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_field_service_pb.rb +30 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_field_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_service_client.rb +430 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_service_client_config.json +41 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_service_pb.rb +386 -0
- data/lib/google/ads/google_ads/v3/services/google_ads_service_services_pb.rb +95 -0
- data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/group_placement_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/group_placement_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/group_placement_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/hotel_group_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/hotel_performance_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/invoice_service_client.rb +233 -0
- data/lib/google/ads/google_ads/v3/services/invoice_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/invoice_service_pb.rb +26 -0
- data/lib/google/ads/google_ads/v3/services/invoice_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_ad_group_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_campaign_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client.rb +255 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_pb.rb +49 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_idea_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client.rb +286 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_keyword_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client.rb +287 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client.rb +363 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_service_pb.rb +93 -0
- data/lib/google/ads/google_ads/v3/services/keyword_plan_service_services_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/services/keyword_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/keyword_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/keyword_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/keyword_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/label_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/label_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/label_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/label_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/landing_page_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/landing_page_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/landing_page_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/language_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/language_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/language_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/language_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/location_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/location_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/location_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/location_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/managed_placement_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/media_file_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/media_file_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/media_file_service_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/media_file_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client.rb +315 -0
- data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_client_config.json +41 -0
- data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_pb.rb +48 -0
- data/lib/google/ads/google_ads/v3/services/merchant_center_link_service_services_pb.rb +46 -0
- data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/mobile_app_category_constant_service_services_pb.rb +39 -0
- data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/mobile_device_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/mutate_job_service_client.rb +491 -0
- data/lib/google/ads/google_ads/v3/services/mutate_job_service_client_config.json +51 -0
- data/lib/google/ads/google_ads/v3/services/mutate_job_service_pb.rb +61 -0
- data/lib/google/ads/google_ads/v3/services/mutate_job_service_services_pb.rb +54 -0
- data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/operating_system_version_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/paid_organic_search_term_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/parental_status_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/parental_status_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/parental_status_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/payments_account_service_client.rb +212 -0
- data/lib/google/ads/google_ads/v3/services/payments_account_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/payments_account_service_pb.rb +22 -0
- data/lib/google/ads/google_ads/v3/services/payments_account_service_services_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/product_bidding_category_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/product_group_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/product_group_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/product_group_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/product_group_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/reach_plan_service_client.rb +436 -0
- data/lib/google/ads/google_ads/v3/services/reach_plan_service_client_config.json +46 -0
- data/lib/google/ads/google_ads/v3/services/reach_plan_service_pb.rb +130 -0
- data/lib/google/ads/google_ads/v3/services/reach_plan_service_services_pb.rb +54 -0
- data/lib/google/ads/google_ads/v3/services/recommendation_service_client.rb +340 -0
- data/lib/google/ads/google_ads/v3/services/recommendation_service_client_config.json +41 -0
- data/lib/google/ads/google_ads/v3/services/recommendation_service_pb.rb +106 -0
- data/lib/google/ads/google_ads/v3/services/recommendation_service_services_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/remarketing_action_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/remarketing_action_service_pb.rb +44 -0
- data/lib/google/ads/google_ads/v3/services/remarketing_action_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/search_term_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/search_term_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/search_term_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/search_term_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/shared_criterion_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/shared_criterion_service_pb.rb +42 -0
- data/lib/google/ads/google_ads/v3/services/shared_criterion_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/shared_set_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/shared_set_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/shared_set_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/shared_set_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/shopping_performance_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/topic_constant_service_client.rb +222 -0
- data/lib/google/ads/google_ads/v3/services/topic_constant_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/topic_constant_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/topic_constant_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/topic_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/topic_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/topic_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/topic_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/user_interest_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/user_interest_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/user_interest_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/user_interest_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/user_list_service_client.rb +285 -0
- data/lib/google/ads/google_ads/v3/services/user_list_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v3/services/user_list_service_pb.rb +45 -0
- data/lib/google/ads/google_ads/v3/services/user_list_service_services_pb.rb +43 -0
- data/lib/google/ads/google_ads/v3/services/user_location_view_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/user_location_view_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/user_location_view_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/user_location_view_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/v3/services/video_service_client.rb +224 -0
- data/lib/google/ads/google_ads/v3/services/video_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v3/services/video_service_pb.rb +18 -0
- data/lib/google/ads/google_ads/v3/services/video_service_services_pb.rb +41 -0
- data/lib/google/ads/google_ads/version.rb +1 -1
- metadata +890 -2
@@ -0,0 +1,46 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.ads.googleads.v3.services.CampaignDraftService": {
|
4
|
+
"retry_codes": {
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"default": {
|
13
|
+
"initial_retry_delay_millis": 5000,
|
14
|
+
"retry_delay_multiplier": 1.3,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 3600000,
|
17
|
+
"rpc_timeout_multiplier": 1.0,
|
18
|
+
"max_rpc_timeout_millis": 3600000,
|
19
|
+
"total_timeout_millis": 3600000
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"methods": {
|
23
|
+
"GetCampaignDraft": {
|
24
|
+
"timeout_millis": 60000,
|
25
|
+
"retry_codes_name": "idempotent",
|
26
|
+
"retry_params_name": "default"
|
27
|
+
},
|
28
|
+
"MutateCampaignDrafts": {
|
29
|
+
"timeout_millis": 60000,
|
30
|
+
"retry_codes_name": "non_idempotent",
|
31
|
+
"retry_params_name": "default"
|
32
|
+
},
|
33
|
+
"PromoteCampaignDraft": {
|
34
|
+
"timeout_millis": 60000,
|
35
|
+
"retry_codes_name": "non_idempotent",
|
36
|
+
"retry_params_name": "default"
|
37
|
+
},
|
38
|
+
"ListCampaignDraftAsyncErrors": {
|
39
|
+
"timeout_millis": 60000,
|
40
|
+
"retry_codes_name": "idempotent",
|
41
|
+
"retry_params_name": "default"
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/ads/google_ads/v3/services/campaign_draft_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/ads/google_ads/v3/resources/campaign_draft_pb'
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/longrunning/operations_pb'
|
11
|
+
require 'google/protobuf/field_mask_pb'
|
12
|
+
require 'google/rpc/status_pb'
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_message "google.ads.googleads.v3.services.GetCampaignDraftRequest" do
|
15
|
+
optional :resource_name, :string, 1
|
16
|
+
end
|
17
|
+
add_message "google.ads.googleads.v3.services.MutateCampaignDraftsRequest" do
|
18
|
+
optional :customer_id, :string, 1
|
19
|
+
repeated :operations, :message, 2, "google.ads.googleads.v3.services.CampaignDraftOperation"
|
20
|
+
optional :partial_failure, :bool, 3
|
21
|
+
optional :validate_only, :bool, 4
|
22
|
+
end
|
23
|
+
add_message "google.ads.googleads.v3.services.PromoteCampaignDraftRequest" do
|
24
|
+
optional :campaign_draft, :string, 1
|
25
|
+
end
|
26
|
+
add_message "google.ads.googleads.v3.services.CampaignDraftOperation" do
|
27
|
+
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
28
|
+
oneof :operation do
|
29
|
+
optional :create, :message, 1, "google.ads.googleads.v3.resources.CampaignDraft"
|
30
|
+
optional :update, :message, 2, "google.ads.googleads.v3.resources.CampaignDraft"
|
31
|
+
optional :remove, :string, 3
|
32
|
+
end
|
33
|
+
end
|
34
|
+
add_message "google.ads.googleads.v3.services.MutateCampaignDraftsResponse" do
|
35
|
+
optional :partial_failure_error, :message, 3, "google.rpc.Status"
|
36
|
+
repeated :results, :message, 2, "google.ads.googleads.v3.services.MutateCampaignDraftResult"
|
37
|
+
end
|
38
|
+
add_message "google.ads.googleads.v3.services.MutateCampaignDraftResult" do
|
39
|
+
optional :resource_name, :string, 1
|
40
|
+
end
|
41
|
+
add_message "google.ads.googleads.v3.services.ListCampaignDraftAsyncErrorsRequest" do
|
42
|
+
optional :resource_name, :string, 1
|
43
|
+
optional :page_token, :string, 2
|
44
|
+
optional :page_size, :int32, 3
|
45
|
+
end
|
46
|
+
add_message "google.ads.googleads.v3.services.ListCampaignDraftAsyncErrorsResponse" do
|
47
|
+
repeated :errors, :message, 1, "google.rpc.Status"
|
48
|
+
optional :next_page_token, :string, 2
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
module Google::Ads::GoogleAds::V3::Services
|
53
|
+
GetCampaignDraftRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.GetCampaignDraftRequest").msgclass
|
54
|
+
MutateCampaignDraftsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateCampaignDraftsRequest").msgclass
|
55
|
+
PromoteCampaignDraftRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.PromoteCampaignDraftRequest").msgclass
|
56
|
+
CampaignDraftOperation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.CampaignDraftOperation").msgclass
|
57
|
+
MutateCampaignDraftsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateCampaignDraftsResponse").msgclass
|
58
|
+
MutateCampaignDraftResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.MutateCampaignDraftResult").msgclass
|
59
|
+
ListCampaignDraftAsyncErrorsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.ListCampaignDraftAsyncErrorsRequest").msgclass
|
60
|
+
ListCampaignDraftAsyncErrorsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v3.services.ListCampaignDraftAsyncErrorsResponse").msgclass
|
61
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/ads/google_ads/v3/services/campaign_draft_service.proto for package 'Google::Ads::GoogleAds::V3::Services'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2020 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/ads/google_ads/v3/services/campaign_draft_service_pb'
|
21
|
+
|
22
|
+
module Google::Ads::GoogleAds::V3::Services
|
23
|
+
module CampaignDraftService
|
24
|
+
# Proto file describing the Campaign Draft service.
|
25
|
+
#
|
26
|
+
# Service to manage campaign drafts.
|
27
|
+
class Service
|
28
|
+
|
29
|
+
include GRPC::GenericService
|
30
|
+
|
31
|
+
self.marshal_class_method = :encode
|
32
|
+
self.unmarshal_class_method = :decode
|
33
|
+
self.service_name = 'google.ads.googleads.v3.services.CampaignDraftService'
|
34
|
+
|
35
|
+
# Returns the requested campaign draft in full detail.
|
36
|
+
rpc :GetCampaignDraft, GetCampaignDraftRequest, Google::Ads::GoogleAds::V3::Resources::CampaignDraft
|
37
|
+
# Creates, updates, or removes campaign drafts. Operation statuses are
|
38
|
+
# returned.
|
39
|
+
rpc :MutateCampaignDrafts, MutateCampaignDraftsRequest, MutateCampaignDraftsResponse
|
40
|
+
# Promotes the changes in a draft back to the base campaign.
|
41
|
+
#
|
42
|
+
# This method returns a Long Running Operation (LRO) indicating if the
|
43
|
+
# Promote is done. Use [Operations.GetOperation] to poll the LRO until it
|
44
|
+
# is done. Only a done status is returned in the response. See the status
|
45
|
+
# in the Campaign Draft resource to determine if the promotion was
|
46
|
+
# successful. If the LRO failed, use
|
47
|
+
# [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v3.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of
|
48
|
+
# error reasons.
|
49
|
+
rpc :PromoteCampaignDraft, PromoteCampaignDraftRequest, Google::Longrunning::Operation
|
50
|
+
# Returns all errors that occurred during CampaignDraft promote. Throws an
|
51
|
+
# error if called before campaign draft is promoted.
|
52
|
+
# Supports standard list paging.
|
53
|
+
rpc :ListCampaignDraftAsyncErrors, ListCampaignDraftAsyncErrorsRequest, ListCampaignDraftAsyncErrorsResponse
|
54
|
+
end
|
55
|
+
|
56
|
+
Stub = Service.rpc_stub_class
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,637 @@
|
|
1
|
+
# Copyright 2019 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# EDITING INSTRUCTIONS
|
16
|
+
# This file was generated from the file
|
17
|
+
# https://github.com/googleapis/googleapis/blob/master/google/ads/google_ads/v3/services/campaign_experiment_service.proto,
|
18
|
+
# and updates to that file get reflected here through a refresh process.
|
19
|
+
# For the short term, the refresh process will only be runnable by Google
|
20
|
+
# engineers.
|
21
|
+
|
22
|
+
require "json"
|
23
|
+
require "pathname"
|
24
|
+
|
25
|
+
require "google/gax"
|
26
|
+
require "google/gax/operation"
|
27
|
+
require "google/longrunning/operations_client"
|
28
|
+
|
29
|
+
require "google/ads/google_ads/v3/services/campaign_experiment_service_pb"
|
30
|
+
require "google/ads/google_ads/v3/services/credentials"
|
31
|
+
|
32
|
+
module Google
|
33
|
+
module Ads
|
34
|
+
module GoogleAds
|
35
|
+
module V3
|
36
|
+
module Services
|
37
|
+
# CampaignExperimentService manages the life cycle of campaign experiments.
|
38
|
+
# It is used to create new experiments from drafts, modify experiment
|
39
|
+
# properties, promote changes in an experiment back to its base campaign,
|
40
|
+
# graduate experiments into new stand-alone campaigns, and to remove an
|
41
|
+
# experiment.
|
42
|
+
#
|
43
|
+
# An experiment consists of two variants or arms - the base campaign and the
|
44
|
+
# experiment campaign, directing a fixed share of traffic to each arm.
|
45
|
+
# A campaign experiment is created from a draft of changes to the base campaign
|
46
|
+
# and will be a snapshot of changes in the draft at the time of creation.
|
47
|
+
#
|
48
|
+
# @!attribute [r] campaign_experiment_service_stub
|
49
|
+
# @return [Google::Ads::GoogleAds::V3::Services::CampaignExperimentService::Stub]
|
50
|
+
class CampaignExperimentServiceClient
|
51
|
+
attr_reader :campaign_experiment_service_stub
|
52
|
+
|
53
|
+
# The default address of the service.
|
54
|
+
SERVICE_ADDRESS = "googleads.googleapis.com".freeze
|
55
|
+
|
56
|
+
# The default port of the service.
|
57
|
+
DEFAULT_SERVICE_PORT = 443
|
58
|
+
|
59
|
+
# The default set of gRPC interceptors.
|
60
|
+
GRPC_INTERCEPTORS = []
|
61
|
+
|
62
|
+
DEFAULT_TIMEOUT = 30
|
63
|
+
|
64
|
+
PAGE_DESCRIPTORS = {
|
65
|
+
"list_campaign_experiment_async_errors" => Google::Gax::PageDescriptor.new(
|
66
|
+
"page_token",
|
67
|
+
"next_page_token",
|
68
|
+
"errors")
|
69
|
+
}.freeze
|
70
|
+
|
71
|
+
private_constant :PAGE_DESCRIPTORS
|
72
|
+
|
73
|
+
# The scopes needed to make gRPC calls to all of the methods defined in
|
74
|
+
# this service.
|
75
|
+
ALL_SCOPES = [
|
76
|
+
].freeze
|
77
|
+
|
78
|
+
class OperationsClient < Google::Longrunning::OperationsClient
|
79
|
+
self::SERVICE_ADDRESS = CampaignExperimentServiceClient::SERVICE_ADDRESS
|
80
|
+
self::GRPC_INTERCEPTORS = CampaignExperimentServiceClient::GRPC_INTERCEPTORS
|
81
|
+
end
|
82
|
+
|
83
|
+
CAMPAIGN_EXPERIMENT_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
84
|
+
"customers/{customer}/campaignExperiments/{campaign_experiment}"
|
85
|
+
)
|
86
|
+
|
87
|
+
private_constant :CAMPAIGN_EXPERIMENT_PATH_TEMPLATE
|
88
|
+
|
89
|
+
# Returns a fully-qualified campaign_experiment resource name string.
|
90
|
+
# @param customer [String]
|
91
|
+
# @param campaign_experiment [String]
|
92
|
+
# @return [String]
|
93
|
+
def self.campaign_experiment_path customer, campaign_experiment
|
94
|
+
CAMPAIGN_EXPERIMENT_PATH_TEMPLATE.render(
|
95
|
+
:"customer" => customer,
|
96
|
+
:"campaign_experiment" => campaign_experiment
|
97
|
+
)
|
98
|
+
end
|
99
|
+
|
100
|
+
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
101
|
+
# Provides the means for authenticating requests made by the client. This parameter can
|
102
|
+
# be many types.
|
103
|
+
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
104
|
+
# authenticating requests made by this client.
|
105
|
+
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
106
|
+
# credentials for this client.
|
107
|
+
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
108
|
+
# credentials for this client.
|
109
|
+
# A `GRPC::Core::Channel` will be used to make calls through.
|
110
|
+
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
111
|
+
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
112
|
+
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
113
|
+
# metadata for requests, generally, to give OAuth credentials.
|
114
|
+
# @param scopes [Array<String>]
|
115
|
+
# The OAuth scopes for this service. This parameter is ignored if
|
116
|
+
# an updater_proc is supplied.
|
117
|
+
# @param client_config [Hash]
|
118
|
+
# A Hash for call options for each method. See
|
119
|
+
# Google::Gax#construct_settings for the structure of
|
120
|
+
# this data. Falls back to the default config if not specified
|
121
|
+
# or the specified config is missing data points.
|
122
|
+
# @param timeout [Numeric]
|
123
|
+
# The default timeout, in seconds, for calls made through this client.
|
124
|
+
# @param metadata [Hash]
|
125
|
+
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
126
|
+
# @param exception_transformer [Proc]
|
127
|
+
# An optional proc that intercepts any exceptions raised during an API call to inject
|
128
|
+
# custom error handling.
|
129
|
+
def initialize \
|
130
|
+
credentials: nil,
|
131
|
+
scopes: ALL_SCOPES,
|
132
|
+
client_config: {},
|
133
|
+
timeout: DEFAULT_TIMEOUT,
|
134
|
+
metadata: nil,
|
135
|
+
exception_transformer: nil,
|
136
|
+
lib_name: nil,
|
137
|
+
lib_version: ""
|
138
|
+
# These require statements are intentionally placed here to initialize
|
139
|
+
# the gRPC module only when it's required.
|
140
|
+
# See https://github.com/googleapis/toolkit/issues/446
|
141
|
+
require "google/gax/grpc"
|
142
|
+
require "google/ads/google_ads/v3/services/campaign_experiment_service_services_pb"
|
143
|
+
|
144
|
+
credentials ||= Google::Ads::GoogleAds::V3::Services::Credentials.default
|
145
|
+
|
146
|
+
@operations_client = OperationsClient.new(
|
147
|
+
credentials: credentials,
|
148
|
+
scopes: scopes,
|
149
|
+
client_config: client_config,
|
150
|
+
timeout: timeout,
|
151
|
+
lib_name: lib_name,
|
152
|
+
lib_version: lib_version,
|
153
|
+
)
|
154
|
+
|
155
|
+
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
156
|
+
updater_proc = Google::Ads::GoogleAds::V3::Services::Credentials.new(credentials).updater_proc
|
157
|
+
end
|
158
|
+
if credentials.is_a?(GRPC::Core::Channel)
|
159
|
+
channel = credentials
|
160
|
+
end
|
161
|
+
if credentials.is_a?(GRPC::Core::ChannelCredentials)
|
162
|
+
chan_creds = credentials
|
163
|
+
end
|
164
|
+
if credentials.is_a?(Proc)
|
165
|
+
updater_proc = credentials
|
166
|
+
end
|
167
|
+
if credentials.is_a?(Google::Auth::Credentials)
|
168
|
+
updater_proc = credentials.updater_proc
|
169
|
+
end
|
170
|
+
|
171
|
+
package_version = Gem.loaded_specs['google-ads-googleads'].version.version
|
172
|
+
|
173
|
+
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
174
|
+
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
175
|
+
google_api_client << " gapic/#{package_version} gax/#{Google::Gax::VERSION}"
|
176
|
+
google_api_client << " grpc/#{GRPC::VERSION}"
|
177
|
+
google_api_client.freeze
|
178
|
+
|
179
|
+
headers = { :"x-goog-api-client" => google_api_client }
|
180
|
+
headers.merge!(metadata) unless metadata.nil?
|
181
|
+
client_config_file = Pathname.new(__dir__).join(
|
182
|
+
"campaign_experiment_service_client_config.json"
|
183
|
+
)
|
184
|
+
defaults = client_config_file.open do |f|
|
185
|
+
Google::Gax.construct_settings(
|
186
|
+
"google.ads.googleads.v3.services.CampaignExperimentService",
|
187
|
+
JSON.parse(f.read),
|
188
|
+
client_config,
|
189
|
+
Google::Gax::Grpc::STATUS_CODE_NAMES,
|
190
|
+
timeout,
|
191
|
+
page_descriptors: PAGE_DESCRIPTORS,
|
192
|
+
errors: Google::Gax::Grpc::API_ERRORS,
|
193
|
+
metadata: headers
|
194
|
+
)
|
195
|
+
end
|
196
|
+
|
197
|
+
# Allow overriding the service path/port in subclasses.
|
198
|
+
service_path = self.class::SERVICE_ADDRESS
|
199
|
+
port = self.class::DEFAULT_SERVICE_PORT
|
200
|
+
interceptors = self.class::GRPC_INTERCEPTORS
|
201
|
+
@campaign_experiment_service_stub = Google::Gax::Grpc.create_stub(
|
202
|
+
service_path,
|
203
|
+
port,
|
204
|
+
chan_creds: chan_creds,
|
205
|
+
channel: channel,
|
206
|
+
updater_proc: updater_proc,
|
207
|
+
scopes: scopes,
|
208
|
+
interceptors: interceptors,
|
209
|
+
&Google::Ads::GoogleAds::V3::Services::CampaignExperimentService::Stub.method(:new)
|
210
|
+
)
|
211
|
+
|
212
|
+
@get_campaign_experiment = Google::Gax.create_api_call(
|
213
|
+
@campaign_experiment_service_stub.method(:get_campaign_experiment),
|
214
|
+
defaults["get_campaign_experiment"],
|
215
|
+
exception_transformer: exception_transformer,
|
216
|
+
params_extractor: proc do |request|
|
217
|
+
{'resource_name' => request.resource_name}
|
218
|
+
end
|
219
|
+
)
|
220
|
+
@create_campaign_experiment = Google::Gax.create_api_call(
|
221
|
+
@campaign_experiment_service_stub.method(:create_campaign_experiment),
|
222
|
+
defaults["create_campaign_experiment"],
|
223
|
+
exception_transformer: exception_transformer,
|
224
|
+
params_extractor: proc do |request|
|
225
|
+
{'customer_id' => request.customer_id}
|
226
|
+
end
|
227
|
+
)
|
228
|
+
@mutate_campaign_experiments = Google::Gax.create_api_call(
|
229
|
+
@campaign_experiment_service_stub.method(:mutate_campaign_experiments),
|
230
|
+
defaults["mutate_campaign_experiments"],
|
231
|
+
exception_transformer: exception_transformer,
|
232
|
+
params_extractor: proc do |request|
|
233
|
+
{'customer_id' => request.customer_id}
|
234
|
+
end
|
235
|
+
)
|
236
|
+
@graduate_campaign_experiment = Google::Gax.create_api_call(
|
237
|
+
@campaign_experiment_service_stub.method(:graduate_campaign_experiment),
|
238
|
+
defaults["graduate_campaign_experiment"],
|
239
|
+
exception_transformer: exception_transformer,
|
240
|
+
params_extractor: proc do |request|
|
241
|
+
{'campaign_experiment' => request.campaign_experiment}
|
242
|
+
end
|
243
|
+
)
|
244
|
+
@promote_campaign_experiment = Google::Gax.create_api_call(
|
245
|
+
@campaign_experiment_service_stub.method(:promote_campaign_experiment),
|
246
|
+
defaults["promote_campaign_experiment"],
|
247
|
+
exception_transformer: exception_transformer,
|
248
|
+
params_extractor: proc do |request|
|
249
|
+
{'campaign_experiment' => request.campaign_experiment}
|
250
|
+
end
|
251
|
+
)
|
252
|
+
@end_campaign_experiment = Google::Gax.create_api_call(
|
253
|
+
@campaign_experiment_service_stub.method(:end_campaign_experiment),
|
254
|
+
defaults["end_campaign_experiment"],
|
255
|
+
exception_transformer: exception_transformer,
|
256
|
+
params_extractor: proc do |request|
|
257
|
+
{'campaign_experiment' => request.campaign_experiment}
|
258
|
+
end
|
259
|
+
)
|
260
|
+
@list_campaign_experiment_async_errors = Google::Gax.create_api_call(
|
261
|
+
@campaign_experiment_service_stub.method(:list_campaign_experiment_async_errors),
|
262
|
+
defaults["list_campaign_experiment_async_errors"],
|
263
|
+
exception_transformer: exception_transformer,
|
264
|
+
params_extractor: proc do |request|
|
265
|
+
{'resource_name' => request.resource_name}
|
266
|
+
end
|
267
|
+
)
|
268
|
+
end
|
269
|
+
|
270
|
+
# Service calls
|
271
|
+
|
272
|
+
# Returns the requested campaign experiment in full detail.
|
273
|
+
#
|
274
|
+
# @param resource_name [String]
|
275
|
+
# Required. The resource name of the campaign experiment to fetch.
|
276
|
+
# @param options [Google::Gax::CallOptions]
|
277
|
+
# Overrides the default settings for this call, e.g, timeout,
|
278
|
+
# retries, etc.
|
279
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
280
|
+
# @yieldparam result [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment]
|
281
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
282
|
+
# @return [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment]
|
283
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
284
|
+
# @example
|
285
|
+
# require "google/ads/google_ads"
|
286
|
+
#
|
287
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
288
|
+
# formatted_resource_name = Google::Ads::GoogleAds::V3::Services::CampaignExperimentServiceClient.campaign_experiment_path("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]")
|
289
|
+
# response = campaign_experiment_client.get_campaign_experiment(formatted_resource_name)
|
290
|
+
|
291
|
+
def get_campaign_experiment \
|
292
|
+
resource_name,
|
293
|
+
options: nil,
|
294
|
+
&block
|
295
|
+
req = {
|
296
|
+
resource_name: resource_name
|
297
|
+
}.delete_if { |_, v| v.nil? }
|
298
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::GetCampaignExperimentRequest)
|
299
|
+
@get_campaign_experiment.call(req, options, &block)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Creates a campaign experiment based on a campaign draft. The draft campaign
|
303
|
+
# will be forked into a real campaign (called the experiment campaign) that
|
304
|
+
# will begin serving ads if successfully created.
|
305
|
+
#
|
306
|
+
# The campaign experiment is created immediately with status INITIALIZING.
|
307
|
+
# This method return a long running operation that tracks the forking of the
|
308
|
+
# draft campaign. If the forking fails, a list of errors can be retrieved
|
309
|
+
# using the ListCampaignExperimentAsyncErrors method. The operation's
|
310
|
+
# metadata will be a StringValue containing the resource name of the created
|
311
|
+
# campaign experiment.
|
312
|
+
#
|
313
|
+
# @param customer_id [String]
|
314
|
+
# Required. The ID of the customer whose campaign experiment is being created.
|
315
|
+
# @param campaign_experiment [Google::Ads::GoogleAds::V3::Resources::CampaignExperiment | Hash]
|
316
|
+
# Required. The campaign experiment to be created.
|
317
|
+
# A hash of the same form as `Google::Ads::GoogleAds::V3::Resources::CampaignExperiment`
|
318
|
+
# can also be provided.
|
319
|
+
# @param validate_only [true, false]
|
320
|
+
# If true, the request is validated but not executed. Only errors are
|
321
|
+
# returned, not results.
|
322
|
+
# @param options [Google::Gax::CallOptions]
|
323
|
+
# Overrides the default settings for this call, e.g, timeout,
|
324
|
+
# retries, etc.
|
325
|
+
# @return [Google::Gax::Operation]
|
326
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
327
|
+
# @example
|
328
|
+
# require "google/ads/google_ads"
|
329
|
+
#
|
330
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
331
|
+
#
|
332
|
+
# # TODO: Initialize `customer_id`:
|
333
|
+
# customer_id = ''
|
334
|
+
#
|
335
|
+
# # TODO: Initialize `campaign_experiment`:
|
336
|
+
# campaign_experiment = {}
|
337
|
+
#
|
338
|
+
# # Register a callback during the method call.
|
339
|
+
# operation = campaign_experiment_client.create_campaign_experiment(customer_id, campaign_experiment) do |op|
|
340
|
+
# raise op.results.message if op.error?
|
341
|
+
# op_results = op.results
|
342
|
+
# # Process the results.
|
343
|
+
#
|
344
|
+
# metadata = op.metadata
|
345
|
+
# # Process the metadata.
|
346
|
+
# end
|
347
|
+
#
|
348
|
+
# # Or use the return value to register a callback.
|
349
|
+
# operation.on_done do |op|
|
350
|
+
# raise op.results.message if op.error?
|
351
|
+
# op_results = op.results
|
352
|
+
# # Process the results.
|
353
|
+
#
|
354
|
+
# metadata = op.metadata
|
355
|
+
# # Process the metadata.
|
356
|
+
# end
|
357
|
+
#
|
358
|
+
# # Manually reload the operation.
|
359
|
+
# operation.reload!
|
360
|
+
#
|
361
|
+
# # Or block until the operation completes, triggering callbacks on
|
362
|
+
# # completion.
|
363
|
+
# operation.wait_until_done!
|
364
|
+
|
365
|
+
def create_campaign_experiment \
|
366
|
+
customer_id,
|
367
|
+
campaign_experiment,
|
368
|
+
validate_only: nil,
|
369
|
+
options: nil
|
370
|
+
req = {
|
371
|
+
customer_id: customer_id,
|
372
|
+
campaign_experiment: campaign_experiment,
|
373
|
+
validate_only: validate_only
|
374
|
+
}.delete_if { |_, v| v.nil? }
|
375
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::CreateCampaignExperimentRequest)
|
376
|
+
operation = Google::Gax::Operation.new(
|
377
|
+
@create_campaign_experiment.call(req, options),
|
378
|
+
@operations_client,
|
379
|
+
Google::Protobuf::Empty,
|
380
|
+
Google::Ads::GoogleAds::V3::Services::CreateCampaignExperimentMetadata,
|
381
|
+
call_options: options
|
382
|
+
)
|
383
|
+
operation.on_done { |operation| yield(operation) } if block_given?
|
384
|
+
operation
|
385
|
+
end
|
386
|
+
|
387
|
+
# Updates campaign experiments. Operation statuses are returned.
|
388
|
+
#
|
389
|
+
# @param customer_id [String]
|
390
|
+
# Required. The ID of the customer whose campaign experiments are being modified.
|
391
|
+
# @param operations [Array<Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation | Hash>]
|
392
|
+
# Required. The list of operations to perform on individual campaign experiments.
|
393
|
+
# A hash of the same form as `Google::Ads::GoogleAds::V3::Services::CampaignExperimentOperation`
|
394
|
+
# can also be provided.
|
395
|
+
# @param partial_failure [true, false]
|
396
|
+
# If true, successful operations will be carried out and invalid
|
397
|
+
# operations will return errors. If false, all operations will be carried
|
398
|
+
# out in one transaction if and only if they are all valid.
|
399
|
+
# Default is false.
|
400
|
+
# @param validate_only [true, false]
|
401
|
+
# If true, the request is validated but not executed. Only errors are
|
402
|
+
# returned, not results.
|
403
|
+
# @param options [Google::Gax::CallOptions]
|
404
|
+
# Overrides the default settings for this call, e.g, timeout,
|
405
|
+
# retries, etc.
|
406
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
407
|
+
# @yieldparam result [Google::Ads::GoogleAds::V3::Services::MutateCampaignExperimentsResponse]
|
408
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
409
|
+
# @return [Google::Ads::GoogleAds::V3::Services::MutateCampaignExperimentsResponse]
|
410
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
411
|
+
# @example
|
412
|
+
# require "google/ads/google_ads"
|
413
|
+
#
|
414
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
415
|
+
#
|
416
|
+
# # TODO: Initialize `customer_id`:
|
417
|
+
# customer_id = ''
|
418
|
+
#
|
419
|
+
# # TODO: Initialize `operations`:
|
420
|
+
# operations = []
|
421
|
+
# response = campaign_experiment_client.mutate_campaign_experiments(customer_id, operations)
|
422
|
+
|
423
|
+
def mutate_campaign_experiments \
|
424
|
+
customer_id,
|
425
|
+
operations,
|
426
|
+
partial_failure: nil,
|
427
|
+
validate_only: nil,
|
428
|
+
options: nil,
|
429
|
+
&block
|
430
|
+
req = {
|
431
|
+
customer_id: customer_id,
|
432
|
+
operations: operations,
|
433
|
+
partial_failure: partial_failure,
|
434
|
+
validate_only: validate_only
|
435
|
+
}.delete_if { |_, v| v.nil? }
|
436
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::MutateCampaignExperimentsRequest)
|
437
|
+
@mutate_campaign_experiments.call(req, options, &block)
|
438
|
+
end
|
439
|
+
|
440
|
+
# Graduates a campaign experiment to a full campaign. The base and experiment
|
441
|
+
# campaigns will start running independently with their own budgets.
|
442
|
+
#
|
443
|
+
# @param campaign_experiment [String]
|
444
|
+
# Required. The resource name of the campaign experiment to graduate.
|
445
|
+
# @param campaign_budget [String]
|
446
|
+
# Required. Resource name of the budget to attach to the campaign graduated from the
|
447
|
+
# experiment.
|
448
|
+
# @param options [Google::Gax::CallOptions]
|
449
|
+
# Overrides the default settings for this call, e.g, timeout,
|
450
|
+
# retries, etc.
|
451
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
452
|
+
# @yieldparam result [Google::Ads::GoogleAds::V3::Services::GraduateCampaignExperimentResponse]
|
453
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
454
|
+
# @return [Google::Ads::GoogleAds::V3::Services::GraduateCampaignExperimentResponse]
|
455
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
456
|
+
# @example
|
457
|
+
# require "google/ads/google_ads"
|
458
|
+
#
|
459
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
460
|
+
# formatted_campaign_experiment = Google::Ads::GoogleAds::V3::Services::CampaignExperimentServiceClient.campaign_experiment_path("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]")
|
461
|
+
#
|
462
|
+
# # TODO: Initialize `campaign_budget`:
|
463
|
+
# campaign_budget = ''
|
464
|
+
# response = campaign_experiment_client.graduate_campaign_experiment(formatted_campaign_experiment, campaign_budget)
|
465
|
+
|
466
|
+
def graduate_campaign_experiment \
|
467
|
+
campaign_experiment,
|
468
|
+
campaign_budget,
|
469
|
+
options: nil,
|
470
|
+
&block
|
471
|
+
req = {
|
472
|
+
campaign_experiment: campaign_experiment,
|
473
|
+
campaign_budget: campaign_budget
|
474
|
+
}.delete_if { |_, v| v.nil? }
|
475
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::GraduateCampaignExperimentRequest)
|
476
|
+
@graduate_campaign_experiment.call(req, options, &block)
|
477
|
+
end
|
478
|
+
|
479
|
+
# Promotes the changes in a experiment campaign back to the base campaign.
|
480
|
+
#
|
481
|
+
# The campaign experiment is updated immediately with status PROMOTING.
|
482
|
+
# This method return a long running operation that tracks the promoting of
|
483
|
+
# the experiment campaign. If the promoting fails, a list of errors can be
|
484
|
+
# retrieved using the ListCampaignExperimentAsyncErrors method.
|
485
|
+
#
|
486
|
+
# @param campaign_experiment [String]
|
487
|
+
# Required. The resource name of the campaign experiment to promote.
|
488
|
+
# @param options [Google::Gax::CallOptions]
|
489
|
+
# Overrides the default settings for this call, e.g, timeout,
|
490
|
+
# retries, etc.
|
491
|
+
# @return [Google::Gax::Operation]
|
492
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
493
|
+
# @example
|
494
|
+
# require "google/ads/google_ads"
|
495
|
+
#
|
496
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
497
|
+
# formatted_campaign_experiment = Google::Ads::GoogleAds::V3::Services::CampaignExperimentServiceClient.campaign_experiment_path("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]")
|
498
|
+
#
|
499
|
+
# # Register a callback during the method call.
|
500
|
+
# operation = campaign_experiment_client.promote_campaign_experiment(formatted_campaign_experiment) do |op|
|
501
|
+
# raise op.results.message if op.error?
|
502
|
+
# op_results = op.results
|
503
|
+
# # Process the results.
|
504
|
+
#
|
505
|
+
# metadata = op.metadata
|
506
|
+
# # Process the metadata.
|
507
|
+
# end
|
508
|
+
#
|
509
|
+
# # Or use the return value to register a callback.
|
510
|
+
# operation.on_done do |op|
|
511
|
+
# raise op.results.message if op.error?
|
512
|
+
# op_results = op.results
|
513
|
+
# # Process the results.
|
514
|
+
#
|
515
|
+
# metadata = op.metadata
|
516
|
+
# # Process the metadata.
|
517
|
+
# end
|
518
|
+
#
|
519
|
+
# # Manually reload the operation.
|
520
|
+
# operation.reload!
|
521
|
+
#
|
522
|
+
# # Or block until the operation completes, triggering callbacks on
|
523
|
+
# # completion.
|
524
|
+
# operation.wait_until_done!
|
525
|
+
|
526
|
+
def promote_campaign_experiment \
|
527
|
+
campaign_experiment,
|
528
|
+
options: nil
|
529
|
+
req = {
|
530
|
+
campaign_experiment: campaign_experiment
|
531
|
+
}.delete_if { |_, v| v.nil? }
|
532
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::PromoteCampaignExperimentRequest)
|
533
|
+
operation = Google::Gax::Operation.new(
|
534
|
+
@promote_campaign_experiment.call(req, options),
|
535
|
+
@operations_client,
|
536
|
+
Google::Protobuf::Empty,
|
537
|
+
Google::Protobuf::Empty,
|
538
|
+
call_options: options
|
539
|
+
)
|
540
|
+
operation.on_done { |operation| yield(operation) } if block_given?
|
541
|
+
operation
|
542
|
+
end
|
543
|
+
|
544
|
+
# Immediately ends a campaign experiment, changing the experiment's scheduled
|
545
|
+
# end date and without waiting for end of day. End date is updated to be the
|
546
|
+
# time of the request.
|
547
|
+
#
|
548
|
+
# @param campaign_experiment [String]
|
549
|
+
# Required. The resource name of the campaign experiment to end.
|
550
|
+
# @param options [Google::Gax::CallOptions]
|
551
|
+
# Overrides the default settings for this call, e.g, timeout,
|
552
|
+
# retries, etc.
|
553
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
554
|
+
# @yieldparam result []
|
555
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
556
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
557
|
+
# @example
|
558
|
+
# require "google/ads/google_ads"
|
559
|
+
#
|
560
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
561
|
+
# formatted_campaign_experiment = Google::Ads::GoogleAds::V3::Services::CampaignExperimentServiceClient.campaign_experiment_path("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]")
|
562
|
+
# campaign_experiment_client.end_campaign_experiment(formatted_campaign_experiment)
|
563
|
+
|
564
|
+
def end_campaign_experiment \
|
565
|
+
campaign_experiment,
|
566
|
+
options: nil,
|
567
|
+
&block
|
568
|
+
req = {
|
569
|
+
campaign_experiment: campaign_experiment
|
570
|
+
}.delete_if { |_, v| v.nil? }
|
571
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::EndCampaignExperimentRequest)
|
572
|
+
@end_campaign_experiment.call(req, options, &block)
|
573
|
+
nil
|
574
|
+
end
|
575
|
+
|
576
|
+
# Returns all errors that occurred during CampaignExperiment create or
|
577
|
+
# promote (whichever occurred last).
|
578
|
+
# Supports standard list paging.
|
579
|
+
#
|
580
|
+
# @param resource_name [String]
|
581
|
+
# Required. The name of the campaign experiment from which to retrieve the async
|
582
|
+
# errors.
|
583
|
+
# @param page_size [Integer]
|
584
|
+
# The maximum number of resources contained in the underlying API
|
585
|
+
# response. If page streaming is performed per-resource, this
|
586
|
+
# parameter does not affect the return value. If page streaming is
|
587
|
+
# performed per-page, this determines the maximum number of
|
588
|
+
# resources in a page.
|
589
|
+
# @param options [Google::Gax::CallOptions]
|
590
|
+
# Overrides the default settings for this call, e.g, timeout,
|
591
|
+
# retries, etc.
|
592
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
593
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Rpc::Status>]
|
594
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
595
|
+
# @return [Google::Gax::PagedEnumerable<Google::Rpc::Status>]
|
596
|
+
# An enumerable of Google::Rpc::Status instances.
|
597
|
+
# See Google::Gax::PagedEnumerable documentation for other
|
598
|
+
# operations such as per-page iteration or access to the response
|
599
|
+
# object.
|
600
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
601
|
+
# @example
|
602
|
+
# require "google/ads/google_ads"
|
603
|
+
#
|
604
|
+
# campaign_experiment_client = Google::Ads::GoogleAds::CampaignExperiment.new(version: :v3)
|
605
|
+
# formatted_resource_name = Google::Ads::GoogleAds::V3::Services::CampaignExperimentServiceClient.campaign_experiment_path("[CUSTOMER]", "[CAMPAIGN_EXPERIMENT]")
|
606
|
+
#
|
607
|
+
# # Iterate over all results.
|
608
|
+
# campaign_experiment_client.list_campaign_experiment_async_errors(formatted_resource_name).each do |element|
|
609
|
+
# # Process element.
|
610
|
+
# end
|
611
|
+
#
|
612
|
+
# # Or iterate over results one page at a time.
|
613
|
+
# campaign_experiment_client.list_campaign_experiment_async_errors(formatted_resource_name).each_page do |page|
|
614
|
+
# # Process each page at a time.
|
615
|
+
# page.each do |element|
|
616
|
+
# # Process element.
|
617
|
+
# end
|
618
|
+
# end
|
619
|
+
|
620
|
+
def list_campaign_experiment_async_errors \
|
621
|
+
resource_name,
|
622
|
+
page_size: nil,
|
623
|
+
options: nil,
|
624
|
+
&block
|
625
|
+
req = {
|
626
|
+
resource_name: resource_name,
|
627
|
+
page_size: page_size
|
628
|
+
}.delete_if { |_, v| v.nil? }
|
629
|
+
req = Google::Gax::to_proto(req, Google::Ads::GoogleAds::V3::Services::ListCampaignExperimentAsyncErrorsRequest)
|
630
|
+
@list_campaign_experiment_async_errors.call(req, options, &block)
|
631
|
+
end
|
632
|
+
end
|
633
|
+
end
|
634
|
+
end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
end
|