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
@@ -46,6 +46,18 @@ module Google
|
|
46
46
|
module Services
|
47
47
|
end
|
48
48
|
end
|
49
|
+
module V3
|
50
|
+
module Common
|
51
|
+
end
|
52
|
+
module Enums
|
53
|
+
end
|
54
|
+
module Errors
|
55
|
+
end
|
56
|
+
module Resources
|
57
|
+
end
|
58
|
+
module Services
|
59
|
+
end
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
51
63
|
end
|
@@ -215,35 +227,6 @@ module Google
|
|
215
227
|
|
216
228
|
private
|
217
229
|
|
218
|
-
ERROR_TRANSFORMER = Proc.new do |gax_error|
|
219
|
-
begin
|
220
|
-
gax_error.status_details.each do |detail|
|
221
|
-
# If there is an underlying GoogleAdsFailure, throw that one.
|
222
|
-
if detail.is_a?(
|
223
|
-
Google::Ads::GoogleAds::V1::Errors::GoogleAdsFailure)
|
224
|
-
raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
|
225
|
-
detail)
|
226
|
-
end
|
227
|
-
if detail.is_a?(Google::Protobuf::Any)
|
228
|
-
type = Google::Protobuf::DescriptorPool.generated_pool.lookup(
|
229
|
-
detail.type_name).msgclass
|
230
|
-
failure = detail.unpack(type)
|
231
|
-
raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
|
232
|
-
failure)
|
233
|
-
end
|
234
|
-
end
|
235
|
-
rescue Google::Ads::GoogleAds::Errors::GoogleAdsError
|
236
|
-
# If we raised this, bubble it out.
|
237
|
-
raise
|
238
|
-
rescue NoMethodError
|
239
|
-
# Sometimes status_details is just a String; in that case, we should
|
240
|
-
# just raise the original exception.
|
241
|
-
end
|
242
|
-
# If we don't find an error of the correct type, or if we run into an
|
243
|
-
# error while processing, just throw the original.
|
244
|
-
raise gax_error
|
245
|
-
end
|
246
|
-
|
247
230
|
def get_credentials
|
248
231
|
if @config.authentication
|
249
232
|
@config.authentication
|
@@ -51,6 +51,32 @@ module Google
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
def server_streamer(request:, call:, method:, metadata: {})
|
55
|
+
begin
|
56
|
+
@logger.info { build_summary_message(request, call, method, false) }
|
57
|
+
responses = yield
|
58
|
+
Enumerator.new do |y|
|
59
|
+
responses.each { |response|
|
60
|
+
@logger.debug { build_request_message(metadata, request) }
|
61
|
+
@logger.debug { build_success_response_message(response) }
|
62
|
+
if response.respond_to?(:partial_failure_error) && response.partial_failure_error
|
63
|
+
@logger.debug { build_partial_failure_message(response) }
|
64
|
+
end
|
65
|
+
y << response
|
66
|
+
}
|
67
|
+
@logger.debug {
|
68
|
+
"Request ID for preceding streaming request: " \
|
69
|
+
"#{call.instance_variable_get(:@wrapped).instance_variable_get(:@call).trailing_metadata["request-id"]}"
|
70
|
+
}
|
71
|
+
end
|
72
|
+
rescue Exception
|
73
|
+
@logger.warn { build_summary_message(request, call, method, true) }
|
74
|
+
@logger.info { build_request_message(metadata, request) }
|
75
|
+
@logger.info { build_error_response_message }
|
76
|
+
raise
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
54
80
|
private
|
55
81
|
|
56
82
|
def build_partial_failure_message(response)
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'delegate'
|
2
|
+
|
3
|
+
module Google
|
4
|
+
module Ads
|
5
|
+
module GoogleAds
|
6
|
+
class SearchStreamInterceptingFactory < SimpleDelegator
|
7
|
+
def initialize(transformer, factory)
|
8
|
+
@transformer = transformer
|
9
|
+
@factory = factory
|
10
|
+
|
11
|
+
super(@factory)
|
12
|
+
end
|
13
|
+
|
14
|
+
def google_ads
|
15
|
+
GoogleAdsInterceptor.new(@transformer, super)
|
16
|
+
end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
class GoogleAdsInterceptor < SimpleDelegator
|
21
|
+
def initialize(transformer, google_ads_service)
|
22
|
+
@transformer = transformer
|
23
|
+
@google_ads_service = google_ads_service
|
24
|
+
|
25
|
+
super(@google_ads_service)
|
26
|
+
end
|
27
|
+
|
28
|
+
def search_stream(*args, &blk)
|
29
|
+
res = super(*args)
|
30
|
+
if !blk.nil?
|
31
|
+
begin
|
32
|
+
res.each(&blk)
|
33
|
+
return res
|
34
|
+
rescue BasicObject => e
|
35
|
+
raise @transformer.call(e)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
Enumerator.new do |y|
|
40
|
+
res.each { |item| y << item }
|
41
|
+
rescue BasicObject => e
|
42
|
+
raise @transformer.call(e)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -1,3 +1,6 @@
|
|
1
|
+
require 'google/ads/google_ads/error_transformer'
|
2
|
+
require 'google/ads/google_ads/search_stream_intercepting_factory'
|
3
|
+
|
1
4
|
module Google
|
2
5
|
module Ads
|
3
6
|
module GoogleAds
|
@@ -24,6 +27,15 @@ module Google
|
|
24
27
|
Factories::HIGHEST_VERSION,
|
25
28
|
logging_interceptor,
|
26
29
|
)
|
30
|
+
|
31
|
+
highest_factory = if Factories::HIGHEST_VERSION == :V3
|
32
|
+
GoogleAds::SearchStreamInterceptingFactory.new(
|
33
|
+
GoogleAds::ERROR_TRANSFORMER,
|
34
|
+
highest_factory,
|
35
|
+
)
|
36
|
+
else
|
37
|
+
highest_factory
|
38
|
+
end
|
27
39
|
VersionAlternate.new(highest_factory, version_alternates)
|
28
40
|
end
|
29
41
|
|
@@ -42,7 +54,7 @@ module Google
|
|
42
54
|
{
|
43
55
|
credentials: credentials_or_channel,
|
44
56
|
metadata: headers,
|
45
|
-
exception_transformer: ERROR_TRANSFORMER
|
57
|
+
exception_transformer: GoogleAds::ERROR_TRANSFORMER
|
46
58
|
}
|
47
59
|
end
|
48
60
|
|
@@ -76,38 +88,6 @@ module Google
|
|
76
88
|
end
|
77
89
|
end
|
78
90
|
|
79
|
-
ERROR_TRANSFORMER = Proc.new do |gax_error|
|
80
|
-
begin
|
81
|
-
gax_error.status_details.each do |detail|
|
82
|
-
# If there is an underlying GoogleAdsFailure, throw that one.
|
83
|
-
if detail.class.name.start_with?("Google::Ads::GoogleAds") &&
|
84
|
-
detail.class.name.end_with?("GoogleAdsFailure")
|
85
|
-
raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
|
86
|
-
detail
|
87
|
-
)
|
88
|
-
elsif detail.is_a?(Google::Protobuf::Any)
|
89
|
-
type = Google::Protobuf::DescriptorPool.generated_pool.lookup(
|
90
|
-
detail.type_name
|
91
|
-
).msgclass
|
92
|
-
failure = detail.unpack(type)
|
93
|
-
|
94
|
-
raise Google::Ads::GoogleAds::Errors::GoogleAdsError.new(
|
95
|
-
failure
|
96
|
-
)
|
97
|
-
end
|
98
|
-
end
|
99
|
-
rescue Google::Ads::GoogleAds::Errors::GoogleAdsError
|
100
|
-
# If we raised this, bubble it out.
|
101
|
-
raise
|
102
|
-
rescue NoMethodError
|
103
|
-
# Sometimes status_details is just a String; in that case, we should
|
104
|
-
# just raise the original exception.
|
105
|
-
end
|
106
|
-
# If we don't find an error of the correct type, or if we run into an
|
107
|
-
# error while processing, just throw the original.
|
108
|
-
raise gax_error
|
109
|
-
end
|
110
|
-
|
111
91
|
attr_reader :name
|
112
92
|
attr_reader :version
|
113
93
|
attr_reader :service_path
|
@@ -0,0 +1,876 @@
|
|
1
|
+
# Encoding: utf-8
|
2
|
+
#
|
3
|
+
# Copyright 2018 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
#
|
17
|
+
# Utility that generates up resource names for entities given IDs.
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Ads
|
21
|
+
module GoogleAds
|
22
|
+
module Utils
|
23
|
+
module V3
|
24
|
+
class PathLookupUtil
|
25
|
+
include Google::Ads::GoogleAds::V3::Services
|
26
|
+
|
27
|
+
def account_budget_proposal(customer_id, account_budget_proposal_id)
|
28
|
+
require 'google/ads/google_ads/v3/services/account_budget_proposal_service_client'
|
29
|
+
|
30
|
+
AccountBudgetProposalServiceClient
|
31
|
+
.account_budget_proposal_path(
|
32
|
+
customer_id.to_s,
|
33
|
+
account_budget_proposal_id.to_s,
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
def account_budget(customer_id, account_budget_id)
|
38
|
+
require 'google/ads/google_ads/v3/services/account_budget_service_client'
|
39
|
+
|
40
|
+
AccountBudgetServiceClient.
|
41
|
+
account_budget_path(customer_id.to_s, account_budget_id.to_s)
|
42
|
+
end
|
43
|
+
|
44
|
+
def ad_group_ad_label(customer_id, ad_group_id, ad_id, label_id)
|
45
|
+
require 'google/ads/google_ads/v3/services/ad_group_ad_label_service_client'
|
46
|
+
AdGroupAdLabelServiceClient.
|
47
|
+
ad_group_ad_label_path(
|
48
|
+
customer_id.to_s,
|
49
|
+
sprintf('%s~%s~%s', ad_group_id.to_s, ad_id.to_s,
|
50
|
+
label_id.to_s)
|
51
|
+
)
|
52
|
+
end
|
53
|
+
|
54
|
+
def ad_group_ad(customer_id, ad_group_id, ad_id)
|
55
|
+
require 'google/ads/google_ads/v3/services/ad_group_ad_service_client'
|
56
|
+
AdGroupAdServiceClient
|
57
|
+
.ad_group_ad_path(
|
58
|
+
customer_id.to_s,
|
59
|
+
sprintf('%s~%s', ad_group_id.to_s, ad_id.to_s)
|
60
|
+
)
|
61
|
+
end
|
62
|
+
|
63
|
+
def ad_group_audience_view(customer_id, ad_group_id, criterion_id)
|
64
|
+
require 'google/ads/google_ads/v3/services/ad_group_audience_view_service_client'
|
65
|
+
AdGroupAudienceViewServiceClient.
|
66
|
+
ad_group_audience_view_path(
|
67
|
+
customer_id.to_s,
|
68
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
69
|
+
)
|
70
|
+
end
|
71
|
+
|
72
|
+
def ad_group_bid_modifier(customer_id, ad_group_id, criterion_id)
|
73
|
+
require 'google/ads/google_ads/v3/services/ad_group_bid_modifier_service_client'
|
74
|
+
AdGroupBidModifierServiceClient.
|
75
|
+
ad_group_bid_modifier_path(
|
76
|
+
customer_id.to_s,
|
77
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
78
|
+
)
|
79
|
+
end
|
80
|
+
|
81
|
+
def ad_group_criterion_label(customer_id, ad_group_id, criterion_id,
|
82
|
+
label_id)
|
83
|
+
require 'google/ads/google_ads/v3/services/ad_group_criterion_label_service_client'
|
84
|
+
AdGroupCriterionLabelServiceClient.
|
85
|
+
ad_group_criterion_label_path(
|
86
|
+
customer_id.to_s,
|
87
|
+
sprintf('%s~%s~%s', ad_group_id.to_s, criterion_id.to_s,
|
88
|
+
label_id.to_s)
|
89
|
+
)
|
90
|
+
end
|
91
|
+
|
92
|
+
def ad_group_criterion(customer_id, ad_group_id, criterion_id)
|
93
|
+
require 'google/ads/google_ads/v3/services/ad_group_criterion_service_client'
|
94
|
+
AdGroupCriterionServiceClient.
|
95
|
+
ad_group_criteria_path(
|
96
|
+
customer_id.to_s,
|
97
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
98
|
+
)
|
99
|
+
end
|
100
|
+
|
101
|
+
def ad_group_criterion_simulation(customer_id, ad_group_id,
|
102
|
+
criterion_id, type, modification_method, start_date, end_date)
|
103
|
+
require 'google/ads/google_ads/v3/services/ad_group_criterion_simulation_service_client'
|
104
|
+
AdGroupCriterionSimulationServiceClient.
|
105
|
+
ad_group_criterion_simulation_path(
|
106
|
+
customer_id.to_s,
|
107
|
+
sprintf(
|
108
|
+
'%s~%s~%s~%s~%s~%s',
|
109
|
+
ad_group_id.to_s,
|
110
|
+
criterion_id.to_s,
|
111
|
+
type.to_s,
|
112
|
+
modification_method.to_s,
|
113
|
+
start_date.to_s,
|
114
|
+
end_date.to_s,
|
115
|
+
)
|
116
|
+
)
|
117
|
+
end
|
118
|
+
|
119
|
+
def ad_group_extension_setting(customer_id, ad_group_id,
|
120
|
+
extension_type)
|
121
|
+
require 'google/ads/google_ads/v3/services/ad_group_extension_setting_service_client'
|
122
|
+
AdGroupExtensionSettingServiceClient.
|
123
|
+
ad_group_extension_setting_path(
|
124
|
+
customer_id.to_s,
|
125
|
+
sprintf('%s~%s', ad_group_id.to_s, extension_type.to_s)
|
126
|
+
)
|
127
|
+
end
|
128
|
+
|
129
|
+
def ad_group_feed(customer_id, ad_group_id, feed_id)
|
130
|
+
require 'google/ads/google_ads/v3/services/ad_group_feed_service_client'
|
131
|
+
AdGroupFeedServiceClient
|
132
|
+
.ad_group_feed_path(
|
133
|
+
customer_id.to_s,
|
134
|
+
sprintf('%s~%s', ad_group_id.to_s, feed_id.to_s)
|
135
|
+
)
|
136
|
+
end
|
137
|
+
|
138
|
+
def ad_group_label(customer_id, ad_group_id, label_id)
|
139
|
+
require 'google/ads/google_ads/v3/services/ad_group_label_service_client'
|
140
|
+
AdGroupLabelServiceClient
|
141
|
+
.ad_group_label_path(
|
142
|
+
customer_id.to_s,
|
143
|
+
sprintf('%s~%s', ad_group_id.to_s, label_id.to_s)
|
144
|
+
)
|
145
|
+
end
|
146
|
+
|
147
|
+
def ad_group(customer_id, ad_group_id)
|
148
|
+
require 'google/ads/google_ads/v3/services/ad_group_service_client'
|
149
|
+
AdGroupServiceClient
|
150
|
+
.ad_group_path(
|
151
|
+
customer_id.to_s, ad_group_id.to_s)
|
152
|
+
end
|
153
|
+
|
154
|
+
def ad_group_simulation(customer_id, ad_group_id, type,
|
155
|
+
modification_method, start_date, end_date)
|
156
|
+
require 'google/ads/google_ads/v3/services/ad_group_simulation_service_client'
|
157
|
+
AdGroupSimulationServiceClient.
|
158
|
+
ad_group_simulation_path(
|
159
|
+
customer_id.to_s,
|
160
|
+
sprintf(
|
161
|
+
'%s~%s~%s~%s~%s',
|
162
|
+
ad_group_id.to_s,
|
163
|
+
type.to_s,
|
164
|
+
modification_method.to_s,
|
165
|
+
start_date.to_s,
|
166
|
+
end_date.to_s,
|
167
|
+
)
|
168
|
+
)
|
169
|
+
end
|
170
|
+
|
171
|
+
def ad_parameter(customer_id, ad_group_id, criterion_id,
|
172
|
+
parameter_index)
|
173
|
+
require 'google/ads/google_ads/v3/services/ad_parameter_service_client'
|
174
|
+
AdParameterServiceClient
|
175
|
+
.ad_parameter_path(
|
176
|
+
customer_id.to_s,
|
177
|
+
sprintf('%s~%s~%s', ad_group_id, criterion_id, parameter_index)
|
178
|
+
)
|
179
|
+
end
|
180
|
+
|
181
|
+
def ad_schedule_view(customer_id, campaign_id, criterion_id)
|
182
|
+
require 'google/ads/google_ads/v3/services/ad_schedule_view_service_client'
|
183
|
+
AdScheduleViewServiceClient
|
184
|
+
.ad_schedule_view_path(
|
185
|
+
customer_id.to_s,
|
186
|
+
sprintf('%s~%s', campaign_id, criterion_id)
|
187
|
+
)
|
188
|
+
end
|
189
|
+
|
190
|
+
def ad(customer_id, ad_id)
|
191
|
+
require 'google/ads/google_ads/v3/services/ad_service_client'
|
192
|
+
AdServiceClient.ad_path(
|
193
|
+
customer_id.to_s,
|
194
|
+
ad_id.to_s,
|
195
|
+
)
|
196
|
+
end
|
197
|
+
|
198
|
+
def age_range_view(customer_id, ad_group_id, criterion_id)
|
199
|
+
require 'google/ads/google_ads/v3/services/age_range_view_service_client'
|
200
|
+
AgeRangeViewServiceClient
|
201
|
+
.age_range_view_path(
|
202
|
+
customer_id.to_s,
|
203
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
204
|
+
)
|
205
|
+
end
|
206
|
+
|
207
|
+
def asset(customer_id, asset_id)
|
208
|
+
require 'google/ads/google_ads/v3/services/asset_service_client'
|
209
|
+
AssetServiceClient
|
210
|
+
.asset_path(
|
211
|
+
customer_id.to_s,
|
212
|
+
asset_id.to_s
|
213
|
+
)
|
214
|
+
end
|
215
|
+
|
216
|
+
def bidding_strategy(customer_id, bidding_strategy_id)
|
217
|
+
require 'google/ads/google_ads/v3/services/bidding_strategy_service_client'
|
218
|
+
BiddingStrategyServiceClient.
|
219
|
+
bidding_strategy_path(
|
220
|
+
customer_id.to_s,
|
221
|
+
bidding_strategy_id.to_s
|
222
|
+
)
|
223
|
+
end
|
224
|
+
|
225
|
+
def billing_setup(customer_id, billing_id)
|
226
|
+
require 'google/ads/google_ads/v3/services/billing_setup_service_client'
|
227
|
+
BillingSetupServiceClient
|
228
|
+
.billing_setup_path(
|
229
|
+
customer_id.to_s, billing_id.to_s)
|
230
|
+
end
|
231
|
+
|
232
|
+
def campaign_audience_view(customer_id, campaign_id, criterion_id)
|
233
|
+
require 'google/ads/google_ads/v3/services/campaign_audience_view_service_client'
|
234
|
+
CampaignAudienceViewServiceClient.
|
235
|
+
campaign_audience_view_path(
|
236
|
+
customer_id.to_s,
|
237
|
+
sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
|
238
|
+
)
|
239
|
+
end
|
240
|
+
|
241
|
+
def campaign_bid_modifier(customer_id, campaign_bid_modifier_id)
|
242
|
+
require 'google/ads/google_ads/v3/services/campaign_bid_modifier_service_client'
|
243
|
+
CampaignBidModifierServiceClient.
|
244
|
+
campaign_bid_modifier_path(customer_id.to_s,
|
245
|
+
campaign_bid_modifier_id.to_s)
|
246
|
+
end
|
247
|
+
|
248
|
+
def campaign_budget(customer_id, campaign_budget_id)
|
249
|
+
require 'google/ads/google_ads/v3/services/campaign_budget_service_client'
|
250
|
+
CampaignBudgetServiceClient
|
251
|
+
.campaign_budget_path(
|
252
|
+
customer_id.to_s, campaign_budget_id.to_s)
|
253
|
+
end
|
254
|
+
|
255
|
+
def campaign_criterion(customer_id, campaign_id, criterion_id)
|
256
|
+
require 'google/ads/google_ads/v3/services/campaign_criterion_service_client'
|
257
|
+
CampaignCriterionServiceClient.
|
258
|
+
campaign_criteria_path(
|
259
|
+
customer_id.to_s,
|
260
|
+
sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
|
261
|
+
)
|
262
|
+
end
|
263
|
+
|
264
|
+
def campaign_criterion_simulation(customer_id, campaign_id, criterion_id,
|
265
|
+
type, modification_method, start_date, end_date)
|
266
|
+
require 'google/ads/google_ads/v3/services/campaign_criterion_simulation_service_client'
|
267
|
+
CampaignCriterionSimulationServiceClient.
|
268
|
+
campaign_criterion_simulation_path(
|
269
|
+
customer_id.to_s,
|
270
|
+
sprintf(
|
271
|
+
'%s~%s~%s~%s~%s~%s',
|
272
|
+
campaign_id.to_s,
|
273
|
+
criterion_id.to_s,
|
274
|
+
type.to_s,
|
275
|
+
modification_method.to_s,
|
276
|
+
start_date.to_s,
|
277
|
+
end_date.to_s,
|
278
|
+
)
|
279
|
+
)
|
280
|
+
end
|
281
|
+
|
282
|
+
def campaign_draft(customer_id, campaign_id, draft_id)
|
283
|
+
require 'google/ads/google_ads/v3/services/campaign_draft_service_client'
|
284
|
+
CampaignDraftServiceClient
|
285
|
+
.campaign_draft_path(
|
286
|
+
customer_id.to_s,
|
287
|
+
"#{campaign_id}~#{draft_id}"
|
288
|
+
)
|
289
|
+
end
|
290
|
+
|
291
|
+
def campaign_experiment(customer_id, experiment_id)
|
292
|
+
require 'google/ads/google_ads/v3/services/campaign_experiment_service_client'
|
293
|
+
CampaignExperimentServiceClient
|
294
|
+
.campaign_experiment_path(
|
295
|
+
customer_id.to_s,
|
296
|
+
experiment_id.to_s,
|
297
|
+
)
|
298
|
+
end
|
299
|
+
|
300
|
+
def campaign_extension_setting(customer_id, campaign_id,
|
301
|
+
extension_type)
|
302
|
+
require 'google/ads/google_ads/v3/services/campaign_extension_setting_service_client'
|
303
|
+
CampaignExtensionSettingServiceClient.
|
304
|
+
campaign_extension_setting_path(
|
305
|
+
customer_id.to_s,
|
306
|
+
sprintf('%s~%s', campaign_id.to_s, extension_type.to_s)
|
307
|
+
)
|
308
|
+
end
|
309
|
+
|
310
|
+
def campaign_feed(customer_id, campaign_id, feed_id)
|
311
|
+
require 'google/ads/google_ads/v3/services/campaign_feed_service_client'
|
312
|
+
CampaignFeedServiceClient
|
313
|
+
.campaign_feed_path(
|
314
|
+
customer_id.to_s,
|
315
|
+
sprintf('%s~%s', campaign_id.to_s, feed_id.to_s)
|
316
|
+
)
|
317
|
+
end
|
318
|
+
|
319
|
+
def campaign_label(customer_id, campaign_id, label_id)
|
320
|
+
require 'google/ads/google_ads/v3/services/campaign_label_service_client'
|
321
|
+
CampaignLabelServiceClient
|
322
|
+
.campaign_label_path(
|
323
|
+
customer_id.to_s,
|
324
|
+
sprintf('%s~%s', campaign_id.to_s, label_id.to_s)
|
325
|
+
)
|
326
|
+
end
|
327
|
+
|
328
|
+
def campaign_shared_set(customer_id, campaign_id, shared_set_id)
|
329
|
+
require 'google/ads/google_ads/v3/services/campaign_shared_set_service_client'
|
330
|
+
CampaignSharedSetServiceClient.
|
331
|
+
campaign_shared_set_path(
|
332
|
+
customer_id.to_s,
|
333
|
+
sprintf('%s~%s', campaign_id.to_s, shared_set_id.to_s)
|
334
|
+
)
|
335
|
+
end
|
336
|
+
|
337
|
+
def campaign(customer_id, campaign_id)
|
338
|
+
require 'google/ads/google_ads/v3/services/campaign_service_client'
|
339
|
+
CampaignServiceClient
|
340
|
+
.campaign_path(
|
341
|
+
customer_id.to_s, campaign_id.to_s)
|
342
|
+
end
|
343
|
+
|
344
|
+
def carrier_constant(criterion_id)
|
345
|
+
require 'google/ads/google_ads/v3/services/carrier_constant_service_client'
|
346
|
+
CarrierConstantServiceClient.
|
347
|
+
carrier_constant_path(criterion_id.to_s)
|
348
|
+
end
|
349
|
+
|
350
|
+
def change_status(customer_id, change_status_id)
|
351
|
+
require 'google/ads/google_ads/v3/services/change_status_service_client'
|
352
|
+
ChangeStatusServiceClient
|
353
|
+
.change_status_path(
|
354
|
+
customer_id.to_s, change_status_id.to_s)
|
355
|
+
end
|
356
|
+
|
357
|
+
# Date is expected in format 'yyyy-MM-dd'
|
358
|
+
def click_view(customer_id, date, gclid)
|
359
|
+
require 'google/ads/google_ads/v3/services/click_view_service_client'
|
360
|
+
ClickViewServiceClient
|
361
|
+
.click_view_path(
|
362
|
+
customer_id.to_s,
|
363
|
+
sprintf('%s~%s', date.to_s, gclid.to_s)
|
364
|
+
)
|
365
|
+
end
|
366
|
+
|
367
|
+
def conversion_action(customer_id, conversion_action_id)
|
368
|
+
require 'google/ads/google_ads/v3/services/conversion_action_service_client'
|
369
|
+
ConversionActionServiceClient.
|
370
|
+
conversion_action_path(
|
371
|
+
customer_id.to_s,
|
372
|
+
conversion_action_id.to_s
|
373
|
+
)
|
374
|
+
end
|
375
|
+
|
376
|
+
def currency_constant(criterion_id)
|
377
|
+
require 'google/ads/google_ads/v3/services/currency_constant_service_client'
|
378
|
+
CurrencyConstantServiceClient.
|
379
|
+
currency_constant_path(criterion_id.to_s)
|
380
|
+
end
|
381
|
+
|
382
|
+
def custom_interest(customer_id, custom_interest_id)
|
383
|
+
require 'google/ads/google_ads/v3/services/custom_interest_service_client'
|
384
|
+
CustomInterestServiceClient
|
385
|
+
.custom_interest_path(
|
386
|
+
customer_id.to_s,
|
387
|
+
custom_interest_id.to_s
|
388
|
+
)
|
389
|
+
end
|
390
|
+
|
391
|
+
def customer_client_link(
|
392
|
+
customer_id, client_customer_id, manager_link_id)
|
393
|
+
require 'google/ads/google_ads/v3/services/customer_client_link_service_client'
|
394
|
+
CustomerClientLinkServiceClient.
|
395
|
+
customer_client_link_path(
|
396
|
+
customer_id.to_s,
|
397
|
+
sprintf('%s~%s', client_customer_id.to_s,
|
398
|
+
manager_link_id.to_s)
|
399
|
+
)
|
400
|
+
end
|
401
|
+
|
402
|
+
def customer_client(customer_id, client_customer_id)
|
403
|
+
require 'google/ads/google_ads/v3/services/customer_client_service_client'
|
404
|
+
CustomerClientServiceClient
|
405
|
+
.customer_client_path(
|
406
|
+
customer_id.to_s, client_customer_id.to_s)
|
407
|
+
end
|
408
|
+
|
409
|
+
def customer_extension_setting(customer_id, extension_type)
|
410
|
+
require 'google/ads/google_ads/v3/services/customer_extension_setting_service_client'
|
411
|
+
CustomerExtensionSettingServiceClient.
|
412
|
+
customer_extension_setting_path(
|
413
|
+
customer_id.to_s,
|
414
|
+
extension_type.to_s
|
415
|
+
)
|
416
|
+
end
|
417
|
+
|
418
|
+
def customer_feed(customer_id, feed_id)
|
419
|
+
require 'google/ads/google_ads/v3/services/customer_feed_service_client'
|
420
|
+
CustomerFeedServiceClient
|
421
|
+
.customer_feed_path(
|
422
|
+
customer_id.to_s, feed_id.to_s)
|
423
|
+
end
|
424
|
+
|
425
|
+
def customer_label(customer_id, label_id)
|
426
|
+
require 'google/ads/google_ads/v3/services/customer_label_service_client'
|
427
|
+
CustomerLabelServiceClient
|
428
|
+
.customer_label_path(
|
429
|
+
customer_id.to_s, label_id.to_s)
|
430
|
+
end
|
431
|
+
|
432
|
+
def customer_manager_link(
|
433
|
+
customer_id, manager_customer_id, manager_link_id)
|
434
|
+
require 'google/ads/google_ads/v3/services/customer_manager_link_service_client'
|
435
|
+
CustomerManagerLinkServiceClient.
|
436
|
+
customer_manager_link_path(
|
437
|
+
customer_id.to_s,
|
438
|
+
sprintf('%s~%s', manager_customer_id.to_s,
|
439
|
+
manager_link_id.to_s)
|
440
|
+
)
|
441
|
+
end
|
442
|
+
|
443
|
+
def customer_negative_criterion(customer_id, criterion_id)
|
444
|
+
require 'google/ads/google_ads/v3/services/customer_negative_criterion_service_client'
|
445
|
+
CustomerNegativeCriterionServiceClient.
|
446
|
+
customer_negative_criteria_path(
|
447
|
+
customer_id.to_s,
|
448
|
+
criterion_id.to_s
|
449
|
+
)
|
450
|
+
end
|
451
|
+
|
452
|
+
def customer(customer_id)
|
453
|
+
require 'google/ads/google_ads/v3/services/customer_service_client'
|
454
|
+
CustomerServiceClient.
|
455
|
+
customer_path(customer_id.to_s)
|
456
|
+
end
|
457
|
+
|
458
|
+
def detail_placement_view(customer_id, ad_group_id,
|
459
|
+
base64_placement)
|
460
|
+
require 'google/ads/google_ads/v3/services/detail_placement_view_service_client'
|
461
|
+
DetailPlacementViewServiceClient.
|
462
|
+
detail_placement_view_path(
|
463
|
+
customer_id.to_s,
|
464
|
+
sprintf('%s~%s', ad_group_id.to_s, base64_placement.to_s)
|
465
|
+
)
|
466
|
+
end
|
467
|
+
|
468
|
+
def display_keyword_view(customer_id, ad_group_id, criterion_id)
|
469
|
+
require 'google/ads/google_ads/v3/services/display_keyword_view_service_client'
|
470
|
+
DisplayKeywordViewServiceClient.
|
471
|
+
display_keyword_view_path(
|
472
|
+
customer_id.to_s,
|
473
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
474
|
+
)
|
475
|
+
end
|
476
|
+
|
477
|
+
def domain_category(customer_id, campaign_id, category_base64,
|
478
|
+
language_code)
|
479
|
+
require 'google/ads/google_ads/v3/services/domain_category_service_client'
|
480
|
+
DomainCategoryServiceClient
|
481
|
+
.domain_category_path(
|
482
|
+
customer_id.to_s,
|
483
|
+
sprintf('%s~%s~%s', campaign_id.to_s, category_base64.to_s,
|
484
|
+
language_code.to_s)
|
485
|
+
)
|
486
|
+
end
|
487
|
+
|
488
|
+
def dynamic_search_ads_search_term_view(customer_id, ad_group_id,
|
489
|
+
search_term, headline, landing_page, page_url)
|
490
|
+
require 'google/ads/google_ads/v3/services/dynamic_search_ads_search_term_view_service_client'
|
491
|
+
DynamicSearchAdsSearchTermViewServiceClient.
|
492
|
+
dynamic_search_ads_search_term_view_path(
|
493
|
+
customer_id.to_s,
|
494
|
+
sprintf(
|
495
|
+
'%s~%s~%s~%s~%s',
|
496
|
+
ad_group_id.to_s,
|
497
|
+
search_term.to_s,
|
498
|
+
headline.to_s,
|
499
|
+
landing_page.to_s,
|
500
|
+
page_url.to_s
|
501
|
+
)
|
502
|
+
)
|
503
|
+
end
|
504
|
+
|
505
|
+
def expanded_landing_page_view(customer_id, expanded_final_url_fingerprint)
|
506
|
+
require 'google/ads/google_ads/v3/services/expanded_landing_page_view_service_client'
|
507
|
+
ExpandedLandingPageViewServiceClient.
|
508
|
+
expanded_landing_page_view_path(
|
509
|
+
customer_id.to_s,
|
510
|
+
expanded_final_url_fingerprint.to_s,
|
511
|
+
)
|
512
|
+
end
|
513
|
+
|
514
|
+
def extension_feed_item(customer_id, feed_item_id)
|
515
|
+
require 'google/ads/google_ads/v3/services/extension_feed_item_service_client'
|
516
|
+
ExtensionFeedItemServiceClient.
|
517
|
+
extension_feed_item_path(
|
518
|
+
customer_id.to_s,
|
519
|
+
feed_item_id.to_s
|
520
|
+
)
|
521
|
+
end
|
522
|
+
|
523
|
+
def feed_item(customer_id, feed_id, feed_item_id)
|
524
|
+
require 'google/ads/google_ads/v3/services/feed_item_service_client'
|
525
|
+
FeedItemServiceClient
|
526
|
+
.feed_item_path(
|
527
|
+
customer_id.to_s,
|
528
|
+
sprintf('%s~%s', feed_id.to_s, feed_item_id.to_s)
|
529
|
+
)
|
530
|
+
end
|
531
|
+
|
532
|
+
def feed_item_target(customer_id, feed_id, feed_item_id,
|
533
|
+
feed_item_target_type, feed_item_target_id)
|
534
|
+
require 'google/ads/google_ads/v3/services/feed_item_target_service_client'
|
535
|
+
FeedItemTargetServiceClient
|
536
|
+
.feed_item_target_path(
|
537
|
+
customer_id.to_s,
|
538
|
+
sprintf(
|
539
|
+
'%s~%s~%s~%s',
|
540
|
+
feed_id.to_s,
|
541
|
+
feed_item_id.to_s,
|
542
|
+
feed_item_target_type.to_s,
|
543
|
+
feed_item_target_id.to_s
|
544
|
+
)
|
545
|
+
)
|
546
|
+
end
|
547
|
+
|
548
|
+
def feed_mapping(customer_id, feed_id, feed_mapping_id)
|
549
|
+
require 'google/ads/google_ads/v3/services/feed_mapping_service_client'
|
550
|
+
FeedMappingServiceClient
|
551
|
+
.feed_mapping_path(
|
552
|
+
customer_id.to_s,
|
553
|
+
sprintf('%s~%s', feed_id.to_s, feed_mapping_id.to_s)
|
554
|
+
)
|
555
|
+
end
|
556
|
+
|
557
|
+
def feed_placeholder_view(customer_id, placeholder_type)
|
558
|
+
require 'google/ads/google_ads/v3/services/feed_placeholder_view_service_client'
|
559
|
+
FeedPlaceholderViewServiceClient.
|
560
|
+
feed_placeholder_view_path(
|
561
|
+
customer_id.to_s,
|
562
|
+
placeholder_type.to_s
|
563
|
+
)
|
564
|
+
end
|
565
|
+
|
566
|
+
def feed(customer_id, feed_id)
|
567
|
+
require 'google/ads/google_ads/v3/services/feed_service_client'
|
568
|
+
FeedServiceClient
|
569
|
+
.feed_path(
|
570
|
+
customer_id.to_s, feed_id.to_s)
|
571
|
+
end
|
572
|
+
|
573
|
+
def gender_view(customer_id, ad_group_id, criterion_id)
|
574
|
+
require 'google/ads/google_ads/v3/services/gender_view_service_client'
|
575
|
+
GenderViewServiceClient
|
576
|
+
.gender_view_path(
|
577
|
+
customer_id.to_s,
|
578
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
579
|
+
)
|
580
|
+
end
|
581
|
+
|
582
|
+
def geo_target_constant(geo_target_constant_id)
|
583
|
+
require 'google/ads/google_ads/v3/services/geo_target_constant_service_client'
|
584
|
+
GeoTargetConstantServiceClient.
|
585
|
+
geo_target_constant_path(geo_target_constant_id.to_s)
|
586
|
+
end
|
587
|
+
|
588
|
+
def geographic_view(customer_id, country_criterion_id,
|
589
|
+
location_type)
|
590
|
+
require 'google/ads/google_ads/v3/services/geographic_view_service_client'
|
591
|
+
GeographicViewServiceClient
|
592
|
+
.geographic_view_path(
|
593
|
+
customer_id.to_s,
|
594
|
+
sprintf('%s~%s', country_criterion_id.to_s, location_type.to_s)
|
595
|
+
)
|
596
|
+
end
|
597
|
+
|
598
|
+
def google_ads_field(google_ads_field)
|
599
|
+
require 'google/ads/google_ads/v3/services/google_ads_field_service_client'
|
600
|
+
GoogleAdsFieldServiceClient
|
601
|
+
.google_ads_field_path(
|
602
|
+
google_ads_field.to_s)
|
603
|
+
end
|
604
|
+
|
605
|
+
def group_placement_view(customer_id, ad_group_id, base64_placement)
|
606
|
+
require 'google/ads/google_ads/v3/services/group_placement_view_service_client'
|
607
|
+
GroupPlacementViewServiceClient.
|
608
|
+
group_placement_view_path(
|
609
|
+
customer_id.to_s,
|
610
|
+
sprintf('%s~%s', ad_group_id.to_s, base64_placement.to_s)
|
611
|
+
)
|
612
|
+
end
|
613
|
+
|
614
|
+
def hotel_group_view(customer_id, ad_group_id, criterion_id)
|
615
|
+
require 'google/ads/google_ads/v3/services/hotel_group_view_service_client'
|
616
|
+
HotelGroupViewServiceClient
|
617
|
+
.hotel_group_view_path(
|
618
|
+
customer_id.to_s,
|
619
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
620
|
+
)
|
621
|
+
end
|
622
|
+
|
623
|
+
def hotel_performance_view(customer_id)
|
624
|
+
require 'google/ads/google_ads/v3/services/hotel_performance_view_service_client'
|
625
|
+
HotelPerformanceViewServiceClient.
|
626
|
+
hotel_performance_view_path(customer_id.to_s)
|
627
|
+
end
|
628
|
+
|
629
|
+
def keyword_plan_ad_group(customer_id, kp_ad_group_id)
|
630
|
+
require 'google/ads/google_ads/v3/services/keyword_plan_ad_group_service_client'
|
631
|
+
KeywordPlanAdGroupServiceClient.
|
632
|
+
keyword_plan_ad_group_path(
|
633
|
+
customer_id.to_s,
|
634
|
+
kp_ad_group_id.to_s
|
635
|
+
)
|
636
|
+
end
|
637
|
+
|
638
|
+
def keyword_plan_campaign(customer_id, kp_campaign_id)
|
639
|
+
require 'google/ads/google_ads/v3/services/keyword_plan_campaign_service_client'
|
640
|
+
KeywordPlanCampaignServiceClient.
|
641
|
+
keyword_plan_campaign_path(
|
642
|
+
customer_id.to_s,
|
643
|
+
kp_campaign_id.to_s
|
644
|
+
)
|
645
|
+
end
|
646
|
+
|
647
|
+
def keyword_plan_keyword(customer_id, kp_ad_group_keyword_id)
|
648
|
+
require 'google/ads/google_ads/v3/services/keyword_plan_keyword_service_client'
|
649
|
+
KeywordPlanKeywordServiceClient.
|
650
|
+
keyword_plan_keyword_path(
|
651
|
+
customer_id.to_s,
|
652
|
+
kp_ad_group_keyword_id.to_s
|
653
|
+
)
|
654
|
+
end
|
655
|
+
|
656
|
+
def keyword_plan_negative_keyword(customer_id,
|
657
|
+
kp_negative_keyword_id)
|
658
|
+
require 'google/ads/google_ads/v3/services/keyword_plan_negative_keyword_service_client'
|
659
|
+
KeywordPlanNegativeKeywordServiceClient.
|
660
|
+
keyword_plan_negative_keyword_path(
|
661
|
+
customer_id.to_s,
|
662
|
+
kp_negative_keyword_id.to_s
|
663
|
+
)
|
664
|
+
end
|
665
|
+
|
666
|
+
def keyword_plan(customer_id, kp_plan_id)
|
667
|
+
require 'google/ads/google_ads/v3/services/keyword_plan_service_client'
|
668
|
+
KeywordPlanServiceClient
|
669
|
+
.keyword_plan_path(
|
670
|
+
customer_id.to_s, kp_plan_id.to_s)
|
671
|
+
end
|
672
|
+
|
673
|
+
def keyword_view(customer_id, ad_group_id, criterion_id)
|
674
|
+
require 'google/ads/google_ads/v3/services/keyword_view_service_client'
|
675
|
+
KeywordViewServiceClient
|
676
|
+
.keyword_view_path(
|
677
|
+
customer_id.to_s,
|
678
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
679
|
+
)
|
680
|
+
end
|
681
|
+
|
682
|
+
def label(customer_id, label_id)
|
683
|
+
require 'google/ads/google_ads/v3/services/label_service_client'
|
684
|
+
LabelServiceClient
|
685
|
+
.label_path(
|
686
|
+
customer_id.to_s,
|
687
|
+
label_id.to_s
|
688
|
+
)
|
689
|
+
end
|
690
|
+
|
691
|
+
def language_constant(criterion_id)
|
692
|
+
require 'google/ads/google_ads/v3/services/language_constant_service_client'
|
693
|
+
LanguageConstantServiceClient.
|
694
|
+
language_constant_path(criterion_id.to_s)
|
695
|
+
end
|
696
|
+
|
697
|
+
def location_view(customer_id, campaign_id, criterion_id)
|
698
|
+
require 'google/ads/google_ads/v3/services/location_view_service_client'
|
699
|
+
LocationViewServiceClient
|
700
|
+
.location_view_path(
|
701
|
+
customer_id.to_s,
|
702
|
+
sprintf('%s~%s', campaign_id.to_s, criterion_id.to_s)
|
703
|
+
)
|
704
|
+
end
|
705
|
+
|
706
|
+
def managed_placement_view(customer_id, ad_group_id, criterion_id)
|
707
|
+
require 'google/ads/google_ads/v3/services/managed_placement_view_service_client'
|
708
|
+
ManagedPlacementViewServiceClient.
|
709
|
+
managed_placement_view_path(
|
710
|
+
customer_id.to_s,
|
711
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
712
|
+
)
|
713
|
+
end
|
714
|
+
|
715
|
+
def media_file(customer_id, media_file_id)
|
716
|
+
require 'google/ads/google_ads/v3/services/media_file_service_client'
|
717
|
+
MediaFileServiceClient
|
718
|
+
.media_file_path(
|
719
|
+
customer_id.to_s, media_file_id.to_s)
|
720
|
+
end
|
721
|
+
|
722
|
+
def merchant_center_link(customer_id, merchant_center_id)
|
723
|
+
require 'google/ads/google_ads/v3/services/merchant_center_link_service_client'
|
724
|
+
MerchantCenterLinkServiceClient.
|
725
|
+
merchant_center_link_path(
|
726
|
+
customer_id.to_s,
|
727
|
+
merchant_center_id.to_s
|
728
|
+
)
|
729
|
+
end
|
730
|
+
|
731
|
+
def mobile_app_category_constant(mobile_app_category_id)
|
732
|
+
require 'google/ads/google_ads/v3/services/mobile_app_category_constant_service_client'
|
733
|
+
MobileAppCategoryConstantServiceClient.
|
734
|
+
mobile_app_category_constant_path(mobile_app_category_id.to_s)
|
735
|
+
end
|
736
|
+
|
737
|
+
def mobile_device_constant(criterion_id)
|
738
|
+
require 'google/ads/google_ads/v3/services/mobile_device_constant_service_client'
|
739
|
+
MobileDeviceConstantServiceClient.
|
740
|
+
mobile_device_constant_path(criterion_id.to_s)
|
741
|
+
end
|
742
|
+
|
743
|
+
def mutate_job(customer_id, mutate_job_id)
|
744
|
+
require 'google/ads/google_ads/v3/services/mutate_job_service_client'
|
745
|
+
MutateJobServiceClient
|
746
|
+
.mutate_job_path(
|
747
|
+
customer_id.to_s,
|
748
|
+
mutate_job_id.to_s
|
749
|
+
)
|
750
|
+
end
|
751
|
+
|
752
|
+
def operating_system_version_constant(criterion_id)
|
753
|
+
require 'google/ads/google_ads/v3/services/operating_system_version_constant_service_client'
|
754
|
+
OperatingSystemVersionConstantServiceClient.
|
755
|
+
operating_system_version_constant_path(criterion_id.to_s)
|
756
|
+
end
|
757
|
+
|
758
|
+
def parental_status_view(customer_id, ad_group_id, criterion_id)
|
759
|
+
require 'google/ads/google_ads/v3/services/parental_status_view_service_client'
|
760
|
+
ParentalStatusViewServiceClient.
|
761
|
+
parental_status_view_path(
|
762
|
+
customer_id.to_s,
|
763
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
764
|
+
)
|
765
|
+
end
|
766
|
+
|
767
|
+
def product_bidding_category_constant(country_code, level, id)
|
768
|
+
require 'google/ads/google_ads/v3/services/product_bidding_category_constant_service_client'
|
769
|
+
ProductBiddingCategoryConstantServiceClient.
|
770
|
+
product_bidding_category_constant_path(
|
771
|
+
sprintf('%s~%s~%s', country_code.to_s, level.to_s, id.to_s)
|
772
|
+
)
|
773
|
+
end
|
774
|
+
|
775
|
+
def product_group_view(customer_id, ad_group_id, criterion_id)
|
776
|
+
require 'google/ads/google_ads/v3/services/product_group_view_service_client'
|
777
|
+
ProductGroupViewServiceClient.
|
778
|
+
product_group_view_path(
|
779
|
+
customer_id.to_s,
|
780
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
781
|
+
)
|
782
|
+
end
|
783
|
+
|
784
|
+
def recommendation(customer_id, recommendation_id)
|
785
|
+
require 'google/ads/google_ads/v3/services/recommendation_service_client'
|
786
|
+
RecommendationServiceClient
|
787
|
+
.recommendation_path(
|
788
|
+
customer_id.to_s, recommendation_id.to_s)
|
789
|
+
end
|
790
|
+
|
791
|
+
def remarketing_action(customer_id, remarketing_action_id)
|
792
|
+
require 'google/ads/google_ads/v3/services/remarketing_action_service_client'
|
793
|
+
RemarketingActionServiceClient.
|
794
|
+
remarketing_action_path(
|
795
|
+
customer_id.to_s,
|
796
|
+
remarketing_action_id.to_s
|
797
|
+
)
|
798
|
+
end
|
799
|
+
|
800
|
+
def search_term_view(customer_id, campaign_id, ad_group_id,
|
801
|
+
search_term)
|
802
|
+
require 'google/ads/google_ads/v3/services/search_term_view_service_client'
|
803
|
+
SearchTermViewServiceClient
|
804
|
+
.search_term_view_path(
|
805
|
+
customer_id.to_s,
|
806
|
+
sprintf('%s~%s~%s',
|
807
|
+
campaign_id.to_s, ad_group_id.to_s, search_term.to_s)
|
808
|
+
)
|
809
|
+
end
|
810
|
+
|
811
|
+
def shared_criterion(customer_id, shared_set_id, criterion_id)
|
812
|
+
require 'google/ads/google_ads/v3/services/shared_criterion_service_client'
|
813
|
+
SharedCriterionServiceClient
|
814
|
+
.shared_criteria_path(
|
815
|
+
customer_id.to_s,
|
816
|
+
sprintf('%s~%s', shared_set_id.to_s, criterion_id.to_s)
|
817
|
+
)
|
818
|
+
end
|
819
|
+
|
820
|
+
def shared_set(customer_id, shared_set_id)
|
821
|
+
require 'google/ads/google_ads/v3/services/shared_set_service_client'
|
822
|
+
SharedSetServiceClient
|
823
|
+
.shared_set_path(
|
824
|
+
customer_id.to_s, shared_set_id.to_s)
|
825
|
+
end
|
826
|
+
|
827
|
+
def shopping_performance_view(customer_id)
|
828
|
+
require 'google/ads/google_ads/v3/services/shopping_performance_view_service_client'
|
829
|
+
ShoppingPerformanceViewServiceClient.
|
830
|
+
shopping_performance_view_path(
|
831
|
+
customer_id.to_s
|
832
|
+
)
|
833
|
+
end
|
834
|
+
|
835
|
+
def topic_constant(vertical_id)
|
836
|
+
require 'google/ads/google_ads/v3/services/topic_constant_service_client'
|
837
|
+
TopicConstantServiceClient
|
838
|
+
.topic_constant_path(
|
839
|
+
vertical_id.to_s)
|
840
|
+
end
|
841
|
+
|
842
|
+
def topic_view(customer_id, ad_group_id, criterion_id)
|
843
|
+
require 'google/ads/google_ads/v3/services/topic_view_service_client'
|
844
|
+
TopicViewServiceClient
|
845
|
+
.topic_view_path(
|
846
|
+
customer_id.to_s,
|
847
|
+
sprintf('%s~%s', ad_group_id.to_s, criterion_id.to_s)
|
848
|
+
)
|
849
|
+
end
|
850
|
+
|
851
|
+
def user_interest(customer_id, user_interest_id)
|
852
|
+
require 'google/ads/google_ads/v3/services/user_interest_service_client'
|
853
|
+
UserInterestServiceClient
|
854
|
+
.user_interest_path(
|
855
|
+
customer_id.to_s, user_interest_id.to_s)
|
856
|
+
end
|
857
|
+
|
858
|
+
def user_list(customer_id, user_list_id)
|
859
|
+
require 'google/ads/google_ads/v3/services/user_list_service_client'
|
860
|
+
UserListServiceClient
|
861
|
+
.user_list_path(
|
862
|
+
customer_id.to_s, user_list_id.to_s)
|
863
|
+
end
|
864
|
+
|
865
|
+
def video(customer_id, video_id)
|
866
|
+
require 'google/ads/google_ads/v3/services/video_service_client'
|
867
|
+
VideoServiceClient
|
868
|
+
.video_path(
|
869
|
+
customer_id.to_s, video_id.to_s)
|
870
|
+
end
|
871
|
+
end
|
872
|
+
end
|
873
|
+
end
|
874
|
+
end
|
875
|
+
end
|
876
|
+
end
|