google-ads-googleads 1.1.1 → 2.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 +4 -0
- data/README.md +49 -34
- data/lib/google/ads/google_ads.rb +2 -2
- data/lib/google/ads/google_ads/api_versions.rb +9 -1
- data/lib/google/ads/google_ads/errors.rb +59 -0
- data/lib/google/ads/google_ads/google_ads_client.rb +2 -15
- data/lib/google/ads/google_ads/logging_interceptor.rb +33 -12
- data/lib/google/ads/google_ads/utils/v1/path_lookup_util.rb +63 -3
- data/lib/google/ads/google_ads/utils/v1/proto_lookup_util.rb +44 -6
- data/lib/google/ads/google_ads/v1/common/ad_type_infos_pb.rb +16 -0
- data/lib/google/ads/google_ads/v1/common/asset_types_pb.rb +4 -0
- data/lib/google/ads/google_ads/v1/common/criteria_pb.rb +9 -0
- data/lib/google/ads/google_ads/v1/common/extensions_pb.rb +24 -0
- data/lib/google/ads/google_ads/v1/common/final_app_url_pb.rb +18 -0
- data/lib/google/ads/google_ads/v1/common/metrics_pb.rb +19 -0
- data/lib/google/ads/google_ads/v1/common/policy_pb.rb +8 -0
- data/lib/google/ads/google_ads/v1/common/segments_pb.rb +7 -0
- data/lib/google/ads/google_ads/v1/common/simulation_pb.rb +54 -0
- data/lib/google/ads/google_ads/v1/enums/ad_type_pb.rb +3 -0
- data/lib/google/ads/google_ads/v1/enums/advertising_channel_sub_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/enums/app_url_operating_system_type_pb.rb +21 -0
- data/lib/google/ads/google_ads/v1/enums/asset_type_pb.rb +2 -1
- data/lib/google/ads/google_ads/v1/enums/budget_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/enums/campaign_experiment_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v1/enums/criterion_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/enums/customer_pay_per_conversion_eligibility_failure_reason_pb.rb +26 -0
- data/lib/google/ads/google_ads/v1/enums/display_upload_product_type_pb.rb +29 -0
- data/lib/google/ads/google_ads/v1/enums/extension_type_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/enums/location_group_radius_units_pb.rb +21 -0
- data/lib/google/ads/google_ads/v1/enums/payment_mode_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/enums/policy_topic_entry_type_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/enums/policy_topic_evidence_destination_not_working_device_pb.rb +22 -0
- data/lib/google/ads/google_ads/v1/enums/recommendation_type_pb.rb +3 -0
- data/lib/google/ads/google_ads/v1/enums/search_engine_results_page_type_pb.rb +22 -0
- data/lib/google/ads/google_ads/v1/enums/simulation_modification_method_pb.rb +21 -0
- data/lib/google/ads/google_ads/v1/enums/simulation_type_pb.rb +23 -0
- data/lib/google/ads/google_ads/v1/errors/ad_error_pb.rb +3 -0
- data/lib/google/ads/google_ads/v1/errors/asset_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/errors/bidding_strategy_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/errors/criterion_error_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/errors/errors_pb.rb +6 -0
- data/lib/google/ads/google_ads/v1/errors/feed_item_validation_error_pb.rb +6 -0
- data/lib/google/ads/google_ads/v1/errors/media_upload_error_pb.rb +12 -0
- data/lib/google/ads/google_ads/v1/errors/query_error_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/errors/size_limit_error_pb.rb +21 -0
- data/lib/google/ads/google_ads/v1/errors/youtube_video_registration_error_pb.rb +10 -0
- data/lib/google/ads/google_ads/v1/resources/ad_group_criterion_simulation_pb.rb +28 -0
- data/lib/google/ads/google_ads/v1/resources/ad_group_simulation_pb.rb +28 -0
- data/lib/google/ads/google_ads/v1/resources/ad_pb.rb +4 -0
- data/lib/google/ads/google_ads/v1/resources/asset_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/resources/campaign_criterion_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/resources/campaign_criterion_simulation_pb.rb +28 -0
- data/lib/google/ads/google_ads/v1/resources/campaign_pb.rb +23 -20
- data/lib/google/ads/google_ads/v1/resources/customer_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/resources/expanded_landing_page_view_pb.rb +17 -0
- data/lib/google/ads/google_ads/v1/resources/extension_feed_item_pb.rb +6 -0
- data/lib/google/ads/google_ads/v1/resources/landing_page_view_pb.rb +17 -0
- data/lib/google/ads/google_ads/v1/resources/mutate_job_pb.rb +1 -0
- data/lib/google/ads/google_ads/v1/resources/paid_organic_search_term_view_pb.rb +17 -0
- data/lib/google/ads/google_ads/v1/resources/recommendation_pb.rb +24 -8
- data/lib/google/ads/google_ads/v1/services/account_budget_proposal_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/account_budget_proposal_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/account_budget_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/account_budget_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_ad_label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_ad_label_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_ad_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_ad_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_audience_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/ad_group_audience_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_criterion_label_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_criterion_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_criterion_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/{v0/services/account_budget_service_client.rb → v1/services/ad_group_criterion_simulation_service_client.rb} +37 -39
- data/lib/google/ads/google_ads/{v0/services/account_budget_service_client_config.json → v1/services/ad_group_criterion_simulation_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/{v0/services/ad_group_criterion_service_services_pb.rb → v1/services/ad_group_criterion_simulation_service_services_pb.rb} +11 -11
- data/lib/google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_extension_setting_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_feed_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_feed_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_label_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_group_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_group_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/{v0/services/video_service_client.rb → v1/services/ad_group_simulation_service_client.rb} +37 -37
- data/lib/google/ads/google_ads/{v0/services/age_range_view_service_client_config.json → v1/services/ad_group_simulation_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/ad_group_simulation_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/{v0/services/account_budget_service_services_pb.rb → v1/services/ad_group_simulation_service_services_pb.rb} +10 -10
- data/lib/google/ads/google_ads/v1/services/ad_parameter_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/ad_parameter_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/ad_schedule_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/ad_schedule_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/age_range_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/age_range_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/asset_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/asset_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/bidding_strategy_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/bidding_strategy_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/billing_setup_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/billing_setup_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_audience_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/campaign_audience_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_bid_modifier_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_budget_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_budget_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_criterion_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_criterion_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/{v0/services/age_range_view_service_client.rb → v1/services/campaign_criterion_simulation_service_client.rb} +37 -37
- data/lib/google/ads/google_ads/{v0/services/ad_schedule_view_service_client_config.json → v1/services/campaign_criterion_simulation_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/campaign_criterion_simulation_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/{v0/services/ad_group_audience_view_service_services_pb.rb → v1/services/campaign_criterion_simulation_service_services_pb.rb} +11 -9
- data/lib/google/ads/google_ads/v1/services/campaign_extension_setting_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_extension_setting_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_feed_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_feed_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_label_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/campaign_shared_set_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/campaign_shared_set_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/carrier_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/carrier_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/change_status_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/change_status_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/click_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/click_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/conversion_action_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/conversion_action_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/conversion_upload_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/custom_interest_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/custom_interest_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_client_link_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_client_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/customer_client_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_extension_setting_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_extension_setting_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_feed_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_feed_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_label_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_manager_link_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_negative_criterion_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/customer_negative_criterion_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/customer_service_client.rb +8 -8
- data/lib/google/ads/google_ads/v1/services/customer_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/detail_placement_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/detail_placement_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/display_keyword_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/display_keyword_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/domain_category_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/domain_category_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/{v0/services/change_status_service_client.rb → v1/services/expanded_landing_page_view_service_client.rb} +37 -37
- data/lib/google/ads/google_ads/{v0/services/ad_group_audience_view_service_client_config.json → v1/services/expanded_landing_page_view_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/expanded_landing_page_view_service_pb.rb +17 -0
- data/lib/google/ads/google_ads/{v0/services/parental_status_view_service_services_pb.rb → v1/services/expanded_landing_page_view_service_services_pb.rb} +11 -9
- data/lib/google/ads/google_ads/v1/services/extension_feed_item_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/extension_feed_item_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/feed_item_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/feed_item_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/feed_item_target_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/feed_item_target_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/feed_mapping_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/feed_mapping_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/feed_placeholder_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/feed_placeholder_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/feed_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/feed_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/gender_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/gender_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/geo_target_constant_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/geo_target_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/geographic_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/geographic_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/google_ads_field_service_client.rb +5 -5
- data/lib/google/ads/google_ads/v1/services/google_ads_field_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/google_ads_service_client.rb +54 -6
- data/lib/google/ads/google_ads/v1/services/google_ads_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/v1/services/google_ads_service_services_pb.rb +51 -1
- data/lib/google/ads/google_ads/v1/services/group_placement_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/group_placement_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/hotel_group_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/hotel_group_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/hotel_performance_view_service_client.rb +3 -18
- data/lib/google/ads/google_ads/v1/services/hotel_performance_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/keyword_plan_campaign_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/keyword_plan_idea_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/keyword_plan_keyword_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_plan_service_client.rb +8 -8
- data/lib/google/ads/google_ads/v1/services/keyword_plan_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/keyword_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/keyword_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/label_service_client.rb +4 -4
- data/lib/google/ads/google_ads/{v0/services/topic_view_service_client.rb → v1/services/landing_page_view_service_client.rb} +37 -37
- data/lib/google/ads/google_ads/{v0/services/carrier_constant_service_client_config.json → v1/services/landing_page_view_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/landing_page_view_service_pb.rb +17 -0
- data/lib/google/ads/google_ads/{v0/services/keyword_plan_idea_service_services_pb.rb → v1/services/landing_page_view_service_services_pb.rb} +11 -9
- data/lib/google/ads/google_ads/v1/services/language_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/language_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/location_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/location_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/managed_placement_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/managed_placement_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/media_file_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/media_file_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/merchant_center_link_service_client.rb +6 -6
- data/lib/google/ads/google_ads/v1/services/merchant_center_link_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/mobile_device_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/mobile_device_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/mutate_job_service_client.rb +11 -11
- data/lib/google/ads/google_ads/v1/services/mutate_job_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/operating_system_version_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/operating_system_version_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/{v0/services/customer_client_service_client.rb → v1/services/paid_organic_search_term_view_service_client.rb} +37 -37
- data/lib/google/ads/google_ads/{v0/services/mobile_app_category_constant_service_client_config.json → v1/services/paid_organic_search_term_view_service_client_config.json} +2 -2
- data/lib/google/ads/google_ads/v1/services/paid_organic_search_term_view_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/{v0/services/ad_group_ad_service_services_pb.rb → v1/services/paid_organic_search_term_view_service_services_pb.rb} +11 -11
- data/lib/google/ads/google_ads/v1/services/parental_status_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/parental_status_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/payments_account_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/payments_account_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_pb.rb +1 -1
- data/lib/google/ads/google_ads/v1/services/product_bidding_category_constant_service_services_pb.rb +4 -2
- data/lib/google/ads/google_ads/v1/services/product_group_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/product_group_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/recommendation_service_client.rb +6 -6
- data/lib/google/ads/google_ads/v1/services/recommendation_service_client_config.json +3 -3
- data/lib/google/ads/google_ads/v1/services/recommendation_service_pb.rb +16 -0
- data/lib/google/ads/google_ads/v1/services/recommendation_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/remarketing_action_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/remarketing_action_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/search_term_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/search_term_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/shared_criterion_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/shared_criterion_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/shared_set_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/shared_set_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/shopping_performance_view_service_client.rb +3 -18
- data/lib/google/ads/google_ads/v1/services/shopping_performance_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/topic_constant_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/topic_constant_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/topic_view_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/topic_view_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/user_interest_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/user_interest_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/user_list_service_client.rb +4 -4
- data/lib/google/ads/google_ads/v1/services/user_list_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/v1/services/video_service_client.rb +2 -2
- data/lib/google/ads/google_ads/v1/services/video_service_services_pb.rb +2 -0
- data/lib/google/ads/google_ads/version.rb +1 -1
- data/lib/google/ads/google_ads/wrapper_util.rb +4 -0
- metadata +44 -569
- data/lib/google/ads/google_ads/utils/v0/path_lookup_util.rb +0 -431
- data/lib/google/ads/google_ads/utils/v0/proto_lookup_util.rb +0 -620
- data/lib/google/ads/google_ads/v0/common/ad_type_infos_pb.rb +0 -127
- data/lib/google/ads/google_ads/v0/common/bidding_pb.rb +0 -74
- data/lib/google/ads/google_ads/v0/common/criteria_pb.rb +0 -259
- data/lib/google/ads/google_ads/v0/common/criterion_category_availability_pb.rb +0 -33
- data/lib/google/ads/google_ads/v0/common/custom_parameter_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/common/dates_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/common/explorer_auto_optimizer_setting_pb.rb +0 -15
- data/lib/google/ads/google_ads/v0/common/feed_common_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/common/frequency_cap_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/common/keyword_plan_common_pb.rb +0 -17
- data/lib/google/ads/google_ads/v0/common/matching_function_pb.rb +0 -15
- data/lib/google/ads/google_ads/v0/common/metrics_pb.rb +0 -107
- data/lib/google/ads/google_ads/v0/common/policy_pb.rb +0 -77
- data/lib/google/ads/google_ads/v0/common/real_time_bidding_setting_pb.rb +0 -15
- data/lib/google/ads/google_ads/v0/common/segments_pb.rb +0 -48
- data/lib/google/ads/google_ads/v0/common/tag_snippet_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/common/targeting_setting_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/common/user_lists_pb.rb +0 -113
- data/lib/google/ads/google_ads/v0/common/value_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/access_reason_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_status_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_type_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/account_budget_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/ad_customizer_placeholder_field_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/ad_group_ad_rotation_mode_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/ad_group_ad_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/ad_group_criterion_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/ad_group_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/ad_group_type_pb.rb +0 -28
- data/lib/google/ads/google_ads/v0/enums/ad_network_type_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/enums/ad_serving_optimization_status_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/ad_type_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/enums/advertising_channel_sub_type_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/enums/advertising_channel_type_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/affiliate_location_feed_relationship_type_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/age_range_type_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/app_payment_model_type_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/app_placeholder_field_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/enums/attribution_model_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/bid_modifier_source_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/bidding_source_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/bidding_strategy_type_pb.rb +0 -31
- data/lib/google/ads/google_ads/v0/enums/billing_setup_status_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/brand_safety_suitability_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/budget_delivery_method_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/budget_period_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/budget_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/call_conversion_reporting_state_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/call_placeholder_field_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/callout_placeholder_field_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/campaign_serving_status_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/campaign_shared_set_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/campaign_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/change_status_operation_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/change_status_resource_type_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/content_label_type_pb.rb +0 -33
- data/lib/google/ads/google_ads/v0/enums/conversion_action_category_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/enums/conversion_action_counting_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/conversion_action_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/conversion_action_type_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/enums/conversion_attribution_event_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/criterion_category_channel_availability_mode_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/criterion_category_locale_availability_mode_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/criterion_type_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/enums/custom_placeholder_field_pb.rb +0 -38
- data/lib/google/ads/google_ads/v0/enums/customer_match_upload_key_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/data_driven_model_status_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/day_of_week_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/device_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/display_ad_format_setting_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/education_placeholder_field_pb.rb +0 -35
- data/lib/google/ads/google_ads/v0/enums/feed_attribute_type_pb.rb +0 -31
- data/lib/google/ads/google_ads/v0/enums/feed_item_quality_approval_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_item_quality_disapproval_reason_pb.rb +0 -36
- data/lib/google/ads/google_ads/v0/enums/feed_item_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_item_validation_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/feed_link_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_mapping_criterion_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_mapping_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_origin_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/feed_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/flight_placeholder_field_pb.rb +0 -35
- data/lib/google/ads/google_ads/v0/enums/frequency_cap_event_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/frequency_cap_level_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/frequency_cap_time_unit_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/gender_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/geo_target_constant_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/geo_targeting_restriction_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/google_ads_field_category_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/google_ads_field_data_type_pb.rb +0 -28
- data/lib/google/ads/google_ads/v0/enums/hotel_date_selection_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/hotel_placeholder_field_pb.rb +0 -38
- data/lib/google/ads/google_ads/v0/enums/income_range_type_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/interaction_event_type_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/interaction_type_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/job_placeholder_field_pb.rb +0 -35
- data/lib/google/ads/google_ads/v0/enums/keyword_match_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/keyword_plan_competition_level_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/keyword_plan_forecast_interval_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/keyword_plan_network_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/listing_custom_attribute_index_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/listing_group_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/local_placeholder_field_pb.rb +0 -37
- data/lib/google/ads/google_ads/v0/enums/manager_link_status_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/media_type_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/enums/message_placeholder_field_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/mime_type_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/enums/minute_of_hour_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/mobile_device_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/month_of_year_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/enums/operating_system_version_operator_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/page_one_promoted_strategy_goal_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/parental_status_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/placeholder_type_pb.rb +0 -37
- data/lib/google/ads/google_ads/v0/enums/policy_approval_status_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/policy_review_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/policy_topic_entry_type_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/preferred_content_type_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/price_placeholder_field_pb.rb +0 -71
- data/lib/google/ads/google_ads/v0/enums/product_channel_exclusivity_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/product_channel_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/product_condition_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/product_type_level_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/promotion_placeholder_field_pb.rb +0 -32
- data/lib/google/ads/google_ads/v0/enums/proximity_radius_units_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/quality_score_bucket_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/real_estate_placeholder_field_pb.rb +0 -36
- data/lib/google/ads/google_ads/v0/enums/recommendation_type_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/enums/search_term_match_type_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/search_term_targeting_status_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/shared_set_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/shared_set_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/sitelink_placeholder_field_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/slot_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/enums/spending_limit_type_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/structured_snippet_placeholder_field_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/target_cpa_opt_in_recommendation_goal_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/targeting_dimension_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/enums/time_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/tracking_code_page_format_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/tracking_code_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/travel_placeholder_field_pb.rb +0 -38
- data/lib/google/ads/google_ads/v0/enums/user_interest_taxonomy_type_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/user_list_access_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/user_list_closing_reason_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/enums/user_list_combined_rule_operator_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/user_list_crm_data_source_type_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/user_list_date_rule_item_operator_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/enums/user_list_logical_rule_operator_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/user_list_membership_status_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/user_list_number_rule_item_operator_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/enums/user_list_prepopulation_status_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/enums/user_list_rule_type_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/user_list_size_range_pb.rb +0 -34
- data/lib/google/ads/google_ads/v0/enums/user_list_string_rule_item_operator_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/enums/user_list_type_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/enums/vanity_pharma_display_url_mode_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/enums/vanity_pharma_text_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/enums/webpage_condition_operand_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/enums/webpage_condition_operator_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/account_budget_proposal_error_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/errors/ad_customizer_error_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/errors/ad_error_pb.rb +0 -147
- data/lib/google/ads/google_ads/v0/errors/ad_group_ad_error_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/errors/ad_group_bid_modifier_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/ad_group_criterion_error_pb.rb +0 -55
- data/lib/google/ads/google_ads/v0/errors/ad_group_error_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/errors/ad_group_feed_error_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/errors/ad_parameter_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/ad_sharing_error_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/errors/adx_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/authentication_error_pb.rb +0 -36
- data/lib/google/ads/google_ads/v0/errors/authorization_error_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/errors/bidding_error_pb.rb +0 -39
- data/lib/google/ads/google_ads/v0/errors/bidding_strategy_error_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/errors/billing_setup_error_pb.rb +0 -33
- data/lib/google/ads/google_ads/v0/errors/campaign_budget_error_pb.rb +0 -33
- data/lib/google/ads/google_ads/v0/errors/campaign_criterion_error_pb.rb +0 -29
- data/lib/google/ads/google_ads/v0/errors/campaign_error_pb.rb +0 -54
- data/lib/google/ads/google_ads/v0/errors/campaign_feed_error_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/errors/campaign_shared_set_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/change_status_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/collection_size_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/context_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/conversion_action_error_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/errors/criterion_error_pb.rb +0 -112
- data/lib/google/ads/google_ads/v0/errors/customer_client_link_error_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/errors/customer_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/customer_feed_error_pb.rb +0 -25
- data/lib/google/ads/google_ads/v0/errors/customer_manager_link_error_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/errors/database_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/date_error_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/errors/date_range_error_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/errors/distinct_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/enum_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/errors_pb.rb +0 -222
- data/lib/google/ads/google_ads/v0/errors/extension_setting_error_pb.rb +0 -81
- data/lib/google/ads/google_ads/v0/errors/feed_attribute_reference_error_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/errors/feed_error_pb.rb +0 -37
- data/lib/google/ads/google_ads/v0/errors/feed_item_error_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/errors/feed_item_validation_error_pb.rb +0 -107
- data/lib/google/ads/google_ads/v0/errors/feed_mapping_error_pb.rb +0 -34
- data/lib/google/ads/google_ads/v0/errors/field_error_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/errors/field_mask_error_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/errors/function_error_pb.rb +0 -34
- data/lib/google/ads/google_ads/v0/errors/function_parsing_error_pb.rb +0 -29
- data/lib/google/ads/google_ads/v0/errors/geo_target_constant_suggestion_error_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/errors/header_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/id_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/image_error_pb.rb +0 -55
- data/lib/google/ads/google_ads/v0/errors/internal_error_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_ad_group_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_campaign_error_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_error_pb.rb +0 -32
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_idea_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_keyword_error_pb.rb +0 -24
- data/lib/google/ads/google_ads/v0/errors/keyword_plan_negative_keyword_error_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/errors/list_operation_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/media_bundle_error_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/errors/media_file_error_pb.rb +0 -41
- data/lib/google/ads/google_ads/v0/errors/multiplier_error_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/errors/mutate_error_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/errors/new_resource_creation_error_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/errors/not_empty_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/null_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/operation_access_denied_error_pb.rb +0 -28
- data/lib/google/ads/google_ads/v0/errors/operator_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/policy_finding_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/policy_violation_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/query_error_pb.rb +0 -68
- data/lib/google/ads/google_ads/v0/errors/quota_error_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/errors/range_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/recommendation_error_pb.rb +0 -31
- data/lib/google/ads/google_ads/v0/errors/region_code_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/request_error_pb.rb +0 -35
- data/lib/google/ads/google_ads/v0/errors/resource_access_denied_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/resource_count_limit_exceeded_error_pb.rb +0 -26
- data/lib/google/ads/google_ads/v0/errors/setting_error_pb.rb +0 -35
- data/lib/google/ads/google_ads/v0/errors/shared_criterion_error_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/errors/shared_set_error_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/errors/string_format_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/string_length_error_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/errors/url_field_error_pb.rb +0 -69
- data/lib/google/ads/google_ads/v0/errors/user_list_error_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/resources/account_budget_pb.rb +0 -68
- data/lib/google/ads/google_ads/v0/resources/account_budget_proposal_pb.rb +0 -50
- data/lib/google/ads/google_ads/v0/resources/ad_group_ad_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/resources/ad_group_audience_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/ad_group_bid_modifier_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/resources/ad_group_criterion_pb.rb +0 -76
- data/lib/google/ads/google_ads/v0/resources/ad_group_feed_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/resources/ad_group_pb.rb +0 -46
- data/lib/google/ads/google_ads/v0/resources/ad_parameter_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/resources/ad_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/resources/ad_schedule_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/age_range_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/bidding_strategy_pb.rb +0 -28
- data/lib/google/ads/google_ads/v0/resources/billing_setup_pb.rb +0 -37
- data/lib/google/ads/google_ads/v0/resources/campaign_audience_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/campaign_bid_modifier_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/resources/campaign_budget_pb.rb +0 -33
- data/lib/google/ads/google_ads/v0/resources/campaign_criterion_pb.rb +0 -47
- data/lib/google/ads/google_ads/v0/resources/campaign_feed_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/resources/campaign_pb.rb +0 -105
- data/lib/google/ads/google_ads/v0/resources/campaign_shared_set_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/resources/carrier_constant_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/resources/change_status_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/resources/conversion_action_pb.rb +0 -48
- data/lib/google/ads/google_ads/v0/resources/customer_client_link_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/resources/customer_client_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/resources/customer_feed_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/resources/customer_manager_link_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/resources/customer_pb.rb +0 -38
- data/lib/google/ads/google_ads/v0/resources/display_keyword_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/feed_item_pb.rb +0 -67
- data/lib/google/ads/google_ads/v0/resources/feed_mapping_pb.rb +0 -66
- data/lib/google/ads/google_ads/v0/resources/feed_pb.rb +0 -67
- data/lib/google/ads/google_ads/v0/resources/gender_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/geo_target_constant_pb.rb +0 -22
- data/lib/google/ads/google_ads/v0/resources/google_ads_field_pb.rb +0 -30
- data/lib/google/ads/google_ads/v0/resources/hotel_group_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/hotel_performance_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/keyword_plan_ad_group_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/resources/keyword_plan_campaign_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/resources/keyword_plan_keyword_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/resources/keyword_plan_negative_keyword_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/resources/keyword_plan_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/resources/keyword_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/language_constant_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/resources/managed_placement_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/media_file_pb.rb +0 -48
- data/lib/google/ads/google_ads/v0/resources/mobile_app_category_constant_pb.rb +0 -17
- data/lib/google/ads/google_ads/v0/resources/mobile_device_constant_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/resources/operating_system_version_constant_pb.rb +0 -21
- data/lib/google/ads/google_ads/v0/resources/parental_status_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/payments_account_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/resources/product_group_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/recommendation_pb.rb +0 -100
- data/lib/google/ads/google_ads/v0/resources/remarketing_action_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/resources/search_term_view_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/resources/shared_criterion_pb.rb +0 -27
- data/lib/google/ads/google_ads/v0/resources/shared_set_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/resources/topic_constant_pb.rb +0 -18
- data/lib/google/ads/google_ads/v0/resources/topic_view_pb.rb +0 -14
- data/lib/google/ads/google_ads/v0/resources/user_interest_pb.rb +0 -23
- data/lib/google/ads/google_ads/v0/resources/user_list_pb.rb +0 -46
- data/lib/google/ads/google_ads/v0/resources/video_pb.rb +0 -19
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_pb.rb +0 -38
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_services_pb.rb +0 -55
- data/lib/google/ads/google_ads/v0/services/account_budget_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_group_ad_service_pb.rb +0 -46
- data/lib/google/ads/google_ads/v0/services/ad_group_audience_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/ad_group_audience_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/ad_group_bid_modifier_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_group_criterion_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/ad_group_feed_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/ad_group_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/ad_group_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_group_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/ad_group_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/ad_parameter_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/ad_parameter_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/ad_parameter_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/ad_parameter_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/ad_schedule_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/age_range_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/age_range_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/bidding_strategy_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_client.rb +0 -275
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_pb.rb +0 -36
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_services_pb.rb +0 -50
- data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/campaign_audience_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/campaign_bid_modifier_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/campaign_budget_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/campaign_budget_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_budget_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/campaign_budget_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/campaign_criterion_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/campaign_feed_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/campaign_feed_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_feed_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/campaign_feed_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/campaign_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/campaign_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/campaign_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_pb.rb +0 -41
- data/lib/google/ads/google_ads/v0/services/campaign_shared_set_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/carrier_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/carrier_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/carrier_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/change_status_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/change_status_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/change_status_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/credentials.rb +0 -41
- data/lib/google/ads/google_ads/v0/services/customer_client_link_service_client.rb +0 -267
- data/lib/google/ads/google_ads/v0/services/customer_client_link_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/customer_client_link_service_pb.rb +0 -39
- data/lib/google/ads/google_ads/v0/services/customer_client_link_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/customer_client_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/customer_client_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/customer_client_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/customer_feed_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/customer_feed_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/customer_feed_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/customer_feed_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_client.rb +0 -267
- data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_pb.rb +0 -37
- data/lib/google/ads/google_ads/v0/services/customer_manager_link_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/customer_service_client.rb +0 -344
- data/lib/google/ads/google_ads/v0/services/customer_service_client_config.json +0 -46
- data/lib/google/ads/google_ads/v0/services/customer_service_pb.rb +0 -53
- data/lib/google/ads/google_ads/v0/services/customer_service_services_pb.rb +0 -47
- data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/display_keyword_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/feed_item_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/feed_item_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/feed_item_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/feed_item_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/feed_mapping_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/feed_mapping_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/feed_mapping_service_pb.rb +0 -41
- data/lib/google/ads/google_ads/v0/services/feed_mapping_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/feed_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/feed_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/feed_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/feed_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/gender_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/gender_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/gender_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/gender_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_client.rb +0 -281
- data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_pb.rb +0 -46
- data/lib/google/ads/google_ads/v0/services/geo_target_constant_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/google_ads_field_service_client.rb +0 -290
- data/lib/google/ads/google_ads/v0/services/google_ads_field_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/google_ads_field_service_pb.rb +0 -28
- data/lib/google/ads/google_ads/v0/services/google_ads_field_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/google_ads_service_client.rb +0 -309
- data/lib/google/ads/google_ads/v0/services/google_ads_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/google_ads_service_pb.rb +0 -217
- data/lib/google/ads/google_ads/v0/services/google_ads_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/hotel_group_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_client.rb +0 -234
- data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/hotel_performance_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/keyword_plan_ad_group_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/keyword_plan_campaign_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_client.rb +0 -252
- data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/keyword_plan_idea_service_pb.rb +0 -48
- data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_client.rb +0 -280
- data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/keyword_plan_keyword_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_client.rb +0 -281
- data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/keyword_plan_negative_keyword_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/keyword_plan_service_client.rb +0 -351
- data/lib/google/ads/google_ads/v0/services/keyword_plan_service_client_config.json +0 -46
- data/lib/google/ads/google_ads/v0/services/keyword_plan_service_pb.rb +0 -91
- data/lib/google/ads/google_ads/v0/services/keyword_plan_service_services_pb.rb +0 -47
- data/lib/google/ads/google_ads/v0/services/keyword_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/keyword_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/keyword_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/keyword_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/language_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/language_constant_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/language_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/language_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/managed_placement_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/media_file_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/media_file_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/media_file_service_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/media_file_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/mobile_app_category_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/mobile_device_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/operating_system_version_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/parental_status_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/parental_status_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/parental_status_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/payments_account_service_client.rb +0 -209
- data/lib/google/ads/google_ads/v0/services/payments_account_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/payments_account_service_pb.rb +0 -20
- data/lib/google/ads/google_ads/v0/services/payments_account_service_services_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/product_group_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/product_group_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/product_group_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/product_group_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/recommendation_service_client.rb +0 -331
- data/lib/google/ads/google_ads/v0/services/recommendation_service_client_config.json +0 -41
- data/lib/google/ads/google_ads/v0/services/recommendation_service_pb.rb +0 -83
- data/lib/google/ads/google_ads/v0/services/recommendation_service_services_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/remarketing_action_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/remarketing_action_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/remarketing_action_service_pb.rb +0 -43
- data/lib/google/ads/google_ads/v0/services/remarketing_action_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/search_term_view_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/search_term_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/search_term_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/search_term_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/shared_criterion_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/shared_criterion_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/shared_criterion_service_pb.rb +0 -41
- data/lib/google/ads/google_ads/v0/services/shared_criterion_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/shared_set_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/shared_set_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/shared_set_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/shared_set_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/topic_constant_service_client.rb +0 -219
- data/lib/google/ads/google_ads/v0/services/topic_constant_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/topic_constant_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/topic_constant_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/topic_view_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/topic_view_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/topic_view_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/user_interest_service_client.rb +0 -221
- data/lib/google/ads/google_ads/v0/services/user_interest_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/user_interest_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/user_interest_service_services_pb.rb +0 -40
- data/lib/google/ads/google_ads/v0/services/user_list_service_client.rb +0 -279
- data/lib/google/ads/google_ads/v0/services/user_list_service_client_config.json +0 -36
- data/lib/google/ads/google_ads/v0/services/user_list_service_pb.rb +0 -44
- data/lib/google/ads/google_ads/v0/services/user_list_service_services_pb.rb +0 -42
- data/lib/google/ads/google_ads/v0/services/video_service_client_config.json +0 -31
- data/lib/google/ads/google_ads/v0/services/video_service_pb.rb +0 -16
- data/lib/google/ads/google_ads/v0/services/video_service_services_pb.rb +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62470f63d1da981ede9c67986dbd4b2fc78efcf236bc0540a1f673a12b52c224
|
4
|
+
data.tar.gz: 4a46da47d63f825e98030c88b51b3513393311ff3a1050eac62f0d86680b1cb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75580c687c4c05c0a8e4de4feb771ab8b365e07f3cf355ffa3fdf7c4a9d6bdea14763a041c3a85aacb5d467f0b5ce249aa114af1e7768aa5764bf11a00466e95
|
7
|
+
data.tar.gz: ba392c6f51965d2a2ee97addde1be08348461be66ddede838abb1909a11d0a8e118463d7a8f0475ccbadc69669b02a7f0200036ca9acf6e3faa597e314c2f528
|
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -8,58 +8,77 @@ easy-to-use client library for the [Google Ads API][].
|
|
8
8
|
|
9
9
|
# Documentation for Users
|
10
10
|
|
11
|
+
**For thorough documentation of all features and utilities, visit our
|
12
|
+
[Developers site Ruby guide][].**
|
13
|
+
|
14
|
+
[Developers site Ruby guide]: https://developers.google.com/google-ads/api/docs/client-libs/ruby/
|
15
|
+
|
11
16
|
## Getting started
|
12
17
|
|
13
18
|
`google-ads-googleads` will allow you to connect to the
|
14
19
|
[Google Ads API][] and access all its methods.
|
15
20
|
|
16
|
-
In order to achieve so you need to set up authentication as well as install the
|
17
|
-
library locally.
|
18
|
-
|
19
21
|
## Installation
|
20
22
|
|
21
|
-
|
23
|
+
The recommended way to install is using [bundler][].
|
22
24
|
|
23
|
-
|
25
|
+
Add a line to your `Gemfile`:
|
24
26
|
|
25
|
-
|
26
|
-
|
27
|
-
|
27
|
+
gem "google-ads-googleads", "~> x.y.z"
|
28
|
+
|
29
|
+
Then run:
|
30
|
+
|
31
|
+
$ bundle install
|
32
|
+
|
33
|
+
This will cause bundler to update your `Gemfile.lock` locking to the exact
|
34
|
+
version of the gem, and all dependencies of the gem that were installed.
|
35
|
+
Using the pessimistic version operator `"~> x.y.z"` will cause `bundle
|
36
|
+
update` to only install new versions in the `x.y.*` series, which will
|
37
|
+
make it so you must manually opt into new versions.
|
38
|
+
|
39
|
+
You can then update to a new version of the gem by updating the `Gemfile`.
|
28
40
|
|
29
|
-
|
41
|
+
### Other Installation Options
|
30
42
|
|
31
|
-
|
32
|
-
navigate to the `google-ads-ruby` folder and run:
|
43
|
+
If you are not using bundler, you can use one of these options.
|
33
44
|
|
34
|
-
|
35
|
-
|
45
|
+
1. Install this library using gem:
|
46
|
+
|
47
|
+
$ [sudo] gem install google-ads-googleads
|
48
|
+
|
49
|
+
1. Download the gem from the [Releases][] page and install it from the local
|
50
|
+
file:
|
51
|
+
|
52
|
+
$ [sudo] gem install google-ads-googleads-[version].gem
|
36
53
|
|
37
54
|
[Releases]: https://github.com/googleads/google-ads-ruby/releases
|
55
|
+
[bundler]: https://bundler.io/
|
38
56
|
|
39
57
|
## Set Up Authentication
|
40
58
|
|
41
59
|
To authenticate your API calls, you need to specify your client ID, client
|
42
|
-
secret, refresh token, and developer token to the library
|
60
|
+
secret, refresh token, and developer token to the library.
|
43
61
|
|
44
|
-
|
45
|
-
|
46
|
-
library can help you use those to generate a refresh token.
|
62
|
+
1. See the [Developer token guide][] to obtain your developer token, if you
|
63
|
+
don't already have one.
|
47
64
|
|
48
|
-
See
|
49
|
-
|
50
|
-
ways.
|
65
|
+
1. See the [Authorization guide][] to generate a client ID and client secret,
|
66
|
+
if you don't already have them.
|
51
67
|
|
52
|
-
|
53
|
-
|
54
|
-
|
68
|
+
1. Run the [Authentication example][] to generate your refresh token.
|
69
|
+
|
70
|
+
1. Copy [google_ads_config.rb][] to your home directory and modify it to include
|
71
|
+
the client ID, client secret, and refresh token.
|
72
|
+
|
73
|
+
The client will automatically read it from the home directory if instantiated
|
55
74
|
with no arguments:
|
56
75
|
|
57
76
|
client = Google::Ads::GoogleAds::GoogleAdsClient.new
|
58
77
|
|
59
78
|
Alternatively, if you prefer to keep the file elsewhere, you can instantiate the
|
60
|
-
|
79
|
+
client by passing the path to where you keep this file:
|
61
80
|
|
62
|
-
client = Google::Ads::GoogleAds::GoogleAdsClient.new('path/to/
|
81
|
+
client = Google::Ads::GoogleAds::GoogleAdsClient.new('path/to/google_ads_config.rb')
|
63
82
|
|
64
83
|
If you prefer not to store this information in a file at all, and would rather
|
65
84
|
pass the information programmatically at runtime, you can accomplish that this
|
@@ -72,12 +91,13 @@ way:
|
|
72
91
|
config.developer_token = 'INSERT_DEVELOPER_TOKEN_HERE'
|
73
92
|
end
|
74
93
|
|
75
|
-
|
76
|
-
`configure` method on the `GoogleAdsClient`, using the same structure as above.
|
94
|
+
Find out more at the [Configuration guide][].
|
77
95
|
|
96
|
+
[Developer token guide]: https://developers.google.com/google-ads/api/docs/first-call/dev-token
|
78
97
|
[Authorization guide]: https://developers.google.com/google-ads/api/docs/oauth/overview
|
79
98
|
[Authentication example]: https://github.com/googleads/google-ads-ruby/blob/master/examples/authentication/authenticate_in_standalone_application.rb
|
80
99
|
[google_ads_config.rb]: https://github.com/googleads/google-ads-ruby/blob/master/google_ads_config.rb
|
100
|
+
[Configuration guide]: https://developers.google.com/google-ads/api/docs/client-libs/ruby/configuration
|
81
101
|
|
82
102
|
## Usage
|
83
103
|
|
@@ -97,14 +117,9 @@ library.
|
|
97
117
|
|
98
118
|
## Logging
|
99
119
|
|
100
|
-
See the
|
101
|
-
[google_ads_config.rb](https://github.com/googleads/google-ads-ruby/blob/master/google_ads_config.rb)
|
102
|
-
for complete setup.
|
103
|
-
|
104
|
-
Logging is set up via the Config object, accessed via `client.config` or specified
|
105
|
-
in your default config loaded when instantiating a `GoogleAdsClient`.
|
120
|
+
See the [Logging guide][].
|
106
121
|
|
107
|
-
|
122
|
+
[Logging guide]: https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
|
108
123
|
|
109
124
|
# Authors
|
110
125
|
|
@@ -15,14 +15,14 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
|
18
|
-
require 'google/ads/google_ads/google_ads_client'
|
19
18
|
require 'google/ads/google_ads/api_versions'
|
19
|
+
require 'google/ads/google_ads/google_ads_client'
|
20
20
|
|
21
21
|
module Google
|
22
22
|
module Ads
|
23
23
|
module GoogleAds
|
24
24
|
def self.valid_version?(version)
|
25
|
-
|
25
|
+
known_api_versions.include?(version)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1,8 +1,16 @@
|
|
1
1
|
module Google
|
2
2
|
module Ads
|
3
3
|
module GoogleAds
|
4
|
-
KNOWN_API_VERSIONS = [:
|
4
|
+
KNOWN_API_VERSIONS = [:V1]
|
5
5
|
DEFAULT_API_VERSION = :V1
|
6
|
+
|
7
|
+
def self.default_api_version
|
8
|
+
DEFAULT_API_VERSION
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.known_api_versions
|
12
|
+
KNOWN_API_VERSIONS
|
13
|
+
end
|
6
14
|
end
|
7
15
|
end
|
8
16
|
end
|
@@ -34,6 +34,65 @@ module Google
|
|
34
34
|
@failure = failure
|
35
35
|
end
|
36
36
|
end
|
37
|
+
|
38
|
+
def self.namespaces
|
39
|
+
ERROR_NAMESPACES.values
|
40
|
+
end
|
41
|
+
|
42
|
+
# takes a Google::Ads::GoogleAds::VX::Errors::GoogleAdsError error
|
43
|
+
# and extracts its index in the list of mutations
|
44
|
+
#
|
45
|
+
# Return nil if not found
|
46
|
+
# Return Integer: index of the error
|
47
|
+
def self.index(error)
|
48
|
+
path = error.location.field_path_elements.find {|elt| elt.field_name == OPERATIONS }
|
49
|
+
if path
|
50
|
+
path.index.value
|
51
|
+
else
|
52
|
+
nil
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# takes a Google::Ads::GoogleAds::VX::Errors::GoogleAdsError error
|
57
|
+
# and extracts a full error message based on the message and the different paths
|
58
|
+
# describing the source of the error
|
59
|
+
#
|
60
|
+
# Returns a string describing the error
|
61
|
+
def self.message(error)
|
62
|
+
error.location.field_path_elements.inject(error.message) do |string, path|
|
63
|
+
unless MEANINGLESS_PATHS.include?(path.field_name)
|
64
|
+
string = "#{path.field_name} - #{string}"
|
65
|
+
end
|
66
|
+
string
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# takes a Google::Ads::GoogleAds::VX::Errors::GoogleAdsError error
|
71
|
+
# and extracts error code in the form of a hash
|
72
|
+
#
|
73
|
+
# Returns a Hash { name:, value:}
|
74
|
+
def self.code(error, version = Google::Ads::GoogleAds.default_api_version)
|
75
|
+
mapping = ERROR_CODES_MAPPING.fetch(version)
|
76
|
+
match = mapping.find do |error_name|
|
77
|
+
error.error_code.send(error_name) != :UNSPECIFIED
|
78
|
+
end
|
79
|
+
if match
|
80
|
+
{ name: match, value: error.error_code.send(match) }
|
81
|
+
else
|
82
|
+
{ }
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
ERROR_NAMESPACES = Google::Ads::GoogleAds.known_api_versions.each_with_object({}) do |v, h|
|
87
|
+
require "google/ads/google_ads/#{v.downcase}/errors/errors_pb"
|
88
|
+
h[v] = const_get("Google::Ads::GoogleAds::#{v}::Errors")
|
89
|
+
end
|
90
|
+
|
91
|
+
ERROR_CODES_MAPPING = ERROR_NAMESPACES.each_with_object({}) do |(version, klass), hash|
|
92
|
+
hash[version] = klass.const_get(:ErrorCode).descriptor.lookup_oneof('error_code').map(&:name)
|
93
|
+
end
|
94
|
+
MEANINGLESS_PATHS = %w(operations create update remove)
|
95
|
+
OPERATIONS = "operations"
|
37
96
|
end
|
38
97
|
end
|
39
98
|
end
|
@@ -22,18 +22,6 @@
|
|
22
22
|
module Google
|
23
23
|
module Ads
|
24
24
|
module GoogleAds
|
25
|
-
module V0
|
26
|
-
module Common
|
27
|
-
end
|
28
|
-
module Enums
|
29
|
-
end
|
30
|
-
module Errors
|
31
|
-
end
|
32
|
-
module Resources
|
33
|
-
end
|
34
|
-
module Services
|
35
|
-
end
|
36
|
-
end
|
37
25
|
module V1
|
38
26
|
module Common
|
39
27
|
end
|
@@ -60,7 +48,6 @@ require 'google/ads/google_ads/wrapper_util'
|
|
60
48
|
require 'google/ads/google_ads/logging_interceptor'
|
61
49
|
|
62
50
|
require 'google/ads/google_ads/errors'
|
63
|
-
require 'google/ads/google_ads/v0/errors/errors_pb'
|
64
51
|
|
65
52
|
require 'google/gax'
|
66
53
|
|
@@ -220,7 +207,7 @@ module Google
|
|
220
207
|
gax_error.status_details.each do |detail|
|
221
208
|
# If there is an underlying GoogleAdsFailure, throw that one.
|
222
209
|
if detail.is_a?(
|
223
|
-
Google::Ads::GoogleAds::
|
210
|
+
Google::Ads::GoogleAds::V1::Errors::GoogleAdsFailure)
|
224
211
|
raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
|
225
212
|
detail)
|
226
213
|
end
|
@@ -272,7 +259,7 @@ module Google
|
|
272
259
|
end
|
273
260
|
|
274
261
|
def default_api_version
|
275
|
-
Google::Ads::GoogleAds
|
262
|
+
Google::Ads::GoogleAds.default_api_version
|
276
263
|
end
|
277
264
|
end
|
278
265
|
end
|
@@ -25,10 +25,6 @@ module Google
|
|
25
25
|
module Ads
|
26
26
|
module GoogleAds
|
27
27
|
class LoggingInterceptor < GRPC::ClientInterceptor
|
28
|
-
INTERESTING_ERROR_CLASSES = ::Google::Ads::GoogleAds::KNOWN_API_VERSIONS.map { |v|
|
29
|
-
require "google/ads/google_ads/#{v.downcase}/errors/errors_pb"
|
30
|
-
const_get("Google::Ads::GoogleAds::#{v}::Errors::GoogleAdsFailure")
|
31
|
-
}
|
32
28
|
|
33
29
|
def initialize(logger)
|
34
30
|
# Don't propagate args, parens are necessary
|
@@ -40,17 +36,17 @@ module Google
|
|
40
36
|
begin
|
41
37
|
response = yield
|
42
38
|
|
43
|
-
@logger.info
|
44
|
-
@logger.debug
|
45
|
-
@logger.debug
|
39
|
+
@logger.info { build_summary_message(request, call, method, false) }
|
40
|
+
@logger.debug { build_request_message(metadata, request) }
|
41
|
+
@logger.debug { build_success_response_message(response) }
|
46
42
|
if response.respond_to?(:partial_failure_error) && response.partial_failure_error
|
47
|
-
@logger.debug
|
43
|
+
@logger.debug { build_partial_failure_message(response) }
|
48
44
|
end
|
49
45
|
response
|
50
46
|
rescue Exception
|
51
|
-
@logger.warn
|
52
|
-
@logger.info
|
53
|
-
@logger.info
|
47
|
+
@logger.warn { build_summary_message(request, call, method, true) }
|
48
|
+
@logger.info { build_request_message(metadata, request) }
|
49
|
+
@logger.info { build_error_response_message }
|
54
50
|
raise
|
55
51
|
end
|
56
52
|
end
|
@@ -83,7 +79,7 @@ module Google
|
|
83
79
|
most_recent_error.status_details
|
84
80
|
when Array
|
85
81
|
most_recent_error.status_details.select { |detail|
|
86
|
-
|
82
|
+
interesting_error_classes.include?(detail.class)
|
87
83
|
}.map { |detail|
|
88
84
|
response_error_from_detail(detail)
|
89
85
|
}.join("\n")
|
@@ -139,13 +135,38 @@ module Google
|
|
139
135
|
end
|
140
136
|
|
141
137
|
def use_bytes_inspect?(request)
|
138
|
+
@cycle_finder = CycleFinder.new
|
142
139
|
contains_bytes_field?(request.class.descriptor)
|
143
140
|
end
|
144
141
|
|
145
142
|
def contains_bytes_field?(descriptor)
|
146
143
|
return false if descriptor.nil?
|
144
|
+
return false if @cycle_finder.is_cycle?(descriptor)
|
145
|
+
|
146
|
+
@cycle_finder.add_object(descriptor)
|
147
|
+
|
147
148
|
descriptor.map { |x| x.type == :bytes || (x.type == :message && contains_bytes_field?(x.subtype)) }.any?
|
148
149
|
end
|
150
|
+
|
151
|
+
def interesting_error_classes
|
152
|
+
@interesting_error_classes ||= Google::Ads::GoogleAds::Errors.namespaces.map do |namespace|
|
153
|
+
namespace.const_get(:GoogleAdsFailure)
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
class CycleFinder
|
158
|
+
def initialize
|
159
|
+
@objects_seen = Set.new
|
160
|
+
end
|
161
|
+
|
162
|
+
def is_cycle?(object)
|
163
|
+
@objects_seen.include?(object.object_id)
|
164
|
+
end
|
165
|
+
|
166
|
+
def add_object(object)
|
167
|
+
@objects_seen.add(object.object_id)
|
168
|
+
end
|
169
|
+
end
|
149
170
|
end
|
150
171
|
end
|
151
172
|
end
|
@@ -87,6 +87,23 @@ module Google
|
|
87
87
|
)
|
88
88
|
end
|
89
89
|
|
90
|
+
def ad_group_criterion_simulation(customer_id, ad_group_id,
|
91
|
+
criterion_id, type, modification_method, start_date, end_date)
|
92
|
+
@proto_lookup_util.service(:AdGroupCriterionSimulation).
|
93
|
+
ad_group_criterion_simulation_path(
|
94
|
+
customer_id.to_s,
|
95
|
+
sprintf(
|
96
|
+
'%s~%s~%s~%s~%s~%s',
|
97
|
+
ad_group_id.to_s,
|
98
|
+
criterion_id.to_s,
|
99
|
+
type.to_s,
|
100
|
+
modification_method.to_s,
|
101
|
+
start_date.to_s,
|
102
|
+
end_date.to_s,
|
103
|
+
)
|
104
|
+
)
|
105
|
+
end
|
106
|
+
|
90
107
|
def ad_group_extension_setting(customer_id, ad_group_id,
|
91
108
|
extension_type)
|
92
109
|
@proto_lookup_util.service(:AdGroupExtensionSetting).
|
@@ -115,6 +132,22 @@ module Google
|
|
115
132
|
customer_id.to_s, ad_group_id.to_s)
|
116
133
|
end
|
117
134
|
|
135
|
+
def ad_group_simulation(customer_id, ad_group_id, type,
|
136
|
+
modification_method, start_date, end_date)
|
137
|
+
@proto_lookup_util.service(:AdGroupSimulation).
|
138
|
+
ad_group_simulation_path(
|
139
|
+
customer_id.to_s,
|
140
|
+
sprintf(
|
141
|
+
'%s~%s~%s~%s~%s',
|
142
|
+
ad_group_id.to_s,
|
143
|
+
type.to_s,
|
144
|
+
modification_method.to_s,
|
145
|
+
start_date.to_s,
|
146
|
+
end_date.to_s,
|
147
|
+
)
|
148
|
+
)
|
149
|
+
end
|
150
|
+
|
118
151
|
def ad_parameter(customer_id, ad_group_id, criterion_id,
|
119
152
|
parameter_index)
|
120
153
|
@proto_lookup_util.service(:AdParameter).ad_parameter_path(
|
@@ -184,6 +217,23 @@ module Google
|
|
184
217
|
)
|
185
218
|
end
|
186
219
|
|
220
|
+
def campaign_criterion_simulation(customer_id, campaign_id, criterion_id,
|
221
|
+
type, modification_method, start_date, end_date)
|
222
|
+
@proto_lookup_util.service(:CampaignCriterionSimulation).
|
223
|
+
campaign_criterion_simulation_path(
|
224
|
+
customer_id.to_s,
|
225
|
+
sprintf(
|
226
|
+
'%s~%s~%s~%s~%s~%s',
|
227
|
+
campaign_id.to_s,
|
228
|
+
criterion_id.to_s,
|
229
|
+
type.to_s,
|
230
|
+
modification_method.to_s,
|
231
|
+
start_date.to_s,
|
232
|
+
end_date.to_s,
|
233
|
+
)
|
234
|
+
)
|
235
|
+
end
|
236
|
+
|
187
237
|
def campaign_extension_setting(customer_id, campaign_id,
|
188
238
|
extension_type)
|
189
239
|
@proto_lookup_util.service(:CampaignExtensionSetting).
|
@@ -207,10 +257,12 @@ module Google
|
|
207
257
|
)
|
208
258
|
end
|
209
259
|
|
210
|
-
def campaign_shared_set(customer_id,
|
260
|
+
def campaign_shared_set(customer_id, campaign_id, shared_set_id)
|
211
261
|
@proto_lookup_util.service(:CampaignSharedSet).
|
212
|
-
campaign_shared_set_path(
|
213
|
-
|
262
|
+
campaign_shared_set_path(
|
263
|
+
customer_id.to_s,
|
264
|
+
sprintf('%s~%s', campaign_id.to_s, shared_set_id.to_s)
|
265
|
+
)
|
214
266
|
end
|
215
267
|
|
216
268
|
def campaign(customer_id, campaign_id)
|
@@ -349,6 +401,14 @@ module Google
|
|
349
401
|
)
|
350
402
|
end
|
351
403
|
|
404
|
+
def expanded_landing_page_view(customer_id, expanded_final_url_fingerprint)
|
405
|
+
@proto_lookup_util.service(:ExpandedLandingPageView).
|
406
|
+
expanded_landing_page_view_path(
|
407
|
+
customer_id.to_s,
|
408
|
+
expanded_final_url_fingerprint.to_s,
|
409
|
+
)
|
410
|
+
end
|
411
|
+
|
352
412
|
def extension_feed_item(customer_id, feed_item_id)
|
353
413
|
@proto_lookup_util.service(:ExtensionFeedItem).
|
354
414
|
extension_feed_item_path(
|