google-ads-googleads 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +7 -0
- data/README.md +6 -6
- data/{googleads_config.rb → google_ads_config.rb} +1 -1
- data/lib/google/ads/{googleads → google_ads}/config.rb +1 -1
- data/lib/google/ads/{googleads → google_ads}/errors.rb +1 -1
- data/lib/google/ads/{googleads → google_ads}/field_mask_util.rb +1 -1
- data/lib/google/ads/{googleads/googleads_client.rb → google_ads/google_ads_client.rb} +31 -24
- data/lib/google/ads/{googleads → google_ads}/patches.rb +0 -0
- data/lib/google/ads/{googleads → google_ads}/path_lookup_util.rb +27 -1
- data/lib/google/ads/{googleads → google_ads}/proto_lookup_util.rb +78 -10
- data/lib/google/ads/{googleads → google_ads}/v0/common/ad_type_infos_pb.rb +5 -2
- data/lib/google/ads/{googleads → google_ads}/v0/common/bidding_pb.rb +6 -3
- data/lib/google/ads/{googleads → google_ads}/v0/common/criteria_pb.rb +29 -12
- data/lib/google/ads/{googleads → google_ads}/v0/common/custom_parameter_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/common/metrics_pb.rb +10 -2
- data/lib/google/ads/{googleads → google_ads}/v0/common/policy_pb.rb +8 -4
- data/lib/google/ads/{googleads → google_ads}/v0/common/value_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_status_pb.rb +31 -0
- data/lib/google/ads/google_ads/v0/enums/account_budget_proposal_type_pb.rb +30 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_ad_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_criterion_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_group_type_pb.rb +4 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_network_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_serving_optimization_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/ad_type_pb.rb +3 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/advertising_channel_sub_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/advertising_channel_type_pb.rb +3 -2
- data/lib/google/ads/google_ads/v0/enums/attribution_model_pb.rb +33 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/bid_modifier_source_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/bidding_source_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/bidding_strategy_type_pb.rb +3 -2
- data/lib/google/ads/google_ads/v0/enums/billing_setup_status_pb.rb +30 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/budget_delivery_method_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/budget_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_group_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_serving_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_shared_set_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/campaign_status_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/change_status_operation_pb.rb +29 -0
- data/lib/google/ads/google_ads/v0/enums/conversion_action_category_pb.rb +32 -0
- data/lib/google/ads/google_ads/v0/enums/conversion_action_counting_type_pb.rb +28 -0
- data/lib/google/ads/google_ads/v0/enums/conversion_action_status_pb.rb +29 -0
- data/lib/google/ads/google_ads/v0/enums/conversion_action_type_pb.rb +34 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/criterion_type_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/data_driven_model_status_pb.rb +30 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/day_of_week_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/device_pb.rb +2 -3
- data/lib/google/ads/{googleads → google_ads}/v0/enums/google_ads_field_category_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/google_ads_field_data_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/hotel_date_selection_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/interaction_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/keyword_match_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/listing_custom_attribute_index_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/listing_group_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/minute_of_hour_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/month_of_year_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/page_one_promoted_strategy_goal_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/policy_approval_status_pb.rb +30 -0
- data/lib/google/ads/google_ads/v0/enums/policy_review_status_pb.rb +29 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/policy_topic_entry_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/policy_topic_evidence_destination_mismatch_url_type_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/product_channel_exclusivity_pb.rb +28 -0
- data/lib/google/ads/google_ads/v0/enums/product_channel_pb.rb +28 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/product_condition_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/product_type_level_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/quality_score_bucket_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/recommendation_type_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/resource_type_pb.rb +32 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/shared_set_status_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/shared_set_type_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/enums/slot_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/spending_limit_type_pb.rb +27 -0
- data/lib/google/ads/{googleads → google_ads}/v0/enums/target_cpa_opt_in_recommendation_goal_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/enums/time_type_pb.rb +28 -0
- data/lib/google/ads/google_ads/v0/enums/tracking_code_page_format_pb.rb +27 -0
- data/lib/google/ads/google_ads/v0/enums/tracking_code_type_pb.rb +29 -0
- data/lib/google/ads/google_ads/v0/errors/account_budget_proposal_error_pb.rb +48 -0
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_customizer_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_ad_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_bid_modifier_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_criterion_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_group_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/ad_sharing_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/adx_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/authentication_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/authorization_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/bidding_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/bidding_strategy_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_budget_error_pb.rb +3 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_criterion_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_group_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/campaign_shared_set_error_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/errors/change_status_error_pb.rb +28 -0
- data/lib/google/ads/{googleads → google_ads}/v0/errors/collection_size_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/context_error_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/errors/conversion_action_error_pb.rb +34 -0
- data/lib/google/ads/{googleads → google_ads}/v0/errors/criterion_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/database_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/date_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/date_range_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/distinct_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/enum_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/errors_pb.rb +69 -63
- data/lib/google/ads/{googleads → google_ads}/v0/errors/feed_attribute_reference_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/field_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/field_mask_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/function_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/function_parsing_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/header_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/id_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/image_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/internal_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/list_operation_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/media_bundle_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/media_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/multiplier_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/mutate_error_pb.rb +3 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/new_resource_creation_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/not_empty_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/null_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/operation_access_denied_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/operator_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/policy_finding_error_pb.rb +3 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/query_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/quota_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/range_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/recommendation_error_pb.rb +3 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/region_code_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/request_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/resource_access_denied_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/resource_count_limit_exceeded_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/setting_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/shared_criterion_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/shared_set_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/string_format_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/string_length_error_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/errors/url_field_error_pb.rb +2 -2
- data/lib/google/ads/google_ads/v0/resources/account_budget_pb.rb +22 -0
- data/lib/google/ads/google_ads/v0/resources/account_budget_proposal_pb.rb +49 -0
- data/lib/google/ads/google_ads/v0/resources/ad_group_ad_pb.rb +38 -0
- data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_bid_modifier_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_criterion_pb.rb +8 -8
- data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_group_pb.rb +5 -5
- data/lib/google/ads/{googleads → google_ads}/v0/resources/ad_pb.rb +9 -5
- data/lib/google/ads/{googleads → google_ads}/v0/resources/bidding_strategy_pb.rb +4 -4
- data/lib/google/ads/google_ads/v0/resources/billing_setup_pb.rb +31 -0
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_bid_modifier_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_budget_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_criterion_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_group_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_pb.rb +11 -10
- data/lib/google/ads/{googleads → google_ads}/v0/resources/campaign_shared_set_pb.rb +3 -3
- data/lib/google/ads/google_ads/v0/resources/change_status_pb.rb +33 -0
- data/lib/google/ads/google_ads/v0/resources/conversion_action_pb.rb +64 -0
- data/lib/google/ads/{googleads → google_ads}/v0/resources/customer_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/resources/geo_target_constant_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/resources/google_ads_field_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/resources/keyword_view_pb.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/v0/resources/recommendation_pb.rb +6 -6
- data/lib/google/ads/{googleads → google_ads}/v0/resources/shared_criterion_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/resources/shared_set_pb.rb +4 -4
- data/lib/google/ads/google_ads/v0/resources/video_pb.rb +27 -0
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client.rb +280 -0
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_pb.rb +46 -0
- data/lib/google/ads/google_ads/v0/services/account_budget_proposal_service_services_pb.rb +63 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_pb.rb +5 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_ad_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_bid_modifier_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_criterion_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/ad_group_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/bidding_strategy_service_services_pb.rb +4 -4
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_client.rb +276 -0
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_pb.rb +43 -0
- data/lib/google/ads/google_ads/v0/services/billing_setup_service_services_pb.rb +59 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_bid_modifier_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_budget_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_criterion_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_group_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/campaign_shared_set_service_services_pb.rb +4 -4
- data/lib/google/ads/google_ads/v0/services/change_status_service_client.rb +221 -0
- data/lib/google/ads/google_ads/v0/services/change_status_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v0/services/change_status_service_pb.rb +24 -0
- data/lib/google/ads/google_ads/v0/services/change_status_service_services_pb.rb +48 -0
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_client.rb +268 -0
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_client_config.json +36 -0
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_pb.rb +47 -0
- data/lib/google/ads/google_ads/v0/services/conversion_action_service_services_pb.rb +51 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/credentials.rb +5 -5
- data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_client.rb +15 -15
- data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/customer_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_client.rb +15 -15
- data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/geo_target_constant_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_client.rb +21 -21
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_field_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_client.rb +15 -15
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_pb.rb +35 -25
- data/lib/google/ads/{googleads → google_ads}/v0/services/google_ads_service_services_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_client.rb +15 -15
- data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/keyword_view_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_pb.rb +5 -5
- data/lib/google/ads/{googleads → google_ads}/v0/services/recommendation_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_criterion_service_services_pb.rb +4 -4
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_client.rb +22 -22
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_client_config.json +0 -0
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_pb.rb +3 -3
- data/lib/google/ads/{googleads → google_ads}/v0/services/shared_set_service_services_pb.rb +4 -4
- data/lib/google/ads/google_ads/v0/services/video_service_client.rb +221 -0
- data/lib/google/ads/google_ads/v0/services/video_service_client_config.json +31 -0
- data/lib/google/ads/google_ads/v0/services/video_service_pb.rb +24 -0
- data/lib/google/ads/google_ads/v0/services/video_service_services_pb.rb +48 -0
- data/lib/google/ads/{googleads → google_ads}/version.rb +2 -2
- data/lib/google/ads/{googleads → google_ads}/wrapper_util.rb +1 -1
- data/lib/google/ads/{googleads.rb → google_ads.rb} +2 -2
- metadata +266 -267
- data/lib/google/ads/googleads/v0/resources/ad_group_ad_pb.rb +0 -28
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/ad_type_infos.rb +0 -120
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/bidding.rb +0 -176
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/criteria.rb +0 -225
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/custom_parameter.rb +0 -33
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/common/metrics.rb +0 -208
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad.rb +0 -79
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group.rb +0 -87
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_ad.rb +0 -43
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_bid_modifier.rb +0 -70
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/ad_group_criterion.rb +0 -148
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/bidding_strategy.rb +0 -73
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign.rb +0 -223
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_bid_modifier.rb +0 -46
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_budget.rb +0 -88
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_criterion.rb +0 -66
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_group.rb +0 -49
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/campaign_shared_set.rb +0 -47
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/customer.rb +0 -57
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/geo_target_constant.rb +0 -44
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/google_ads_field.rb +0 -89
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/keyword_view.rb +0 -32
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/recommendation.rb +0 -223
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_criterion.rb +0 -46
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/resources/shared_set.rb +0 -56
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_ad_service.rb +0 -68
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_bid_modifier_service.rb +0 -71
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_criterion_service.rb +0 -69
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/ad_group_service.rb +0 -68
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/bidding_strategy_service.rb +0 -70
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_bid_modifier_service.rb +0 -71
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_budget_service.rb +0 -69
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_criterion_service.rb +0 -69
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_group_service.rb +0 -70
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_service.rb +0 -69
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/campaign_shared_set_service.rb +0 -64
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/customer_service.rb +0 -29
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/geo_target_constant_service.rb +0 -29
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_field_service.rb +0 -59
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/google_ads_service.rb +0 -156
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/keyword_view_service.rb +0 -29
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/recommendation_service.rb +0 -112
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_criterion_service.rb +0 -64
- data/lib/google/ads/googleads/v0/services/doc/google/ads/googleads/v0/services/shared_set_service.rb +0 -69
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/any.rb +0 -124
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/field_mask.rb +0 -223
- data/lib/google/ads/googleads/v0/services/doc/google/protobuf/wrappers.rb +0 -89
- data/lib/google/ads/googleads/v0/services/doc/google/rpc/status.rb +0 -83
- data/lib/google/ads/googleads/v0/services/doc/overview.rb +0 -82
- data/lib/google/ads/googleads/v0/services.rb +0 -1163
@@ -1,1163 +0,0 @@
|
|
1
|
-
# Copyright 2018 Google LLC
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require "google/ads/googleads/v0/services/ad_group_ad_service_client"
|
16
|
-
require "google/ads/googleads/v0/services/ad_group_bid_modifier_service_client"
|
17
|
-
require "google/ads/googleads/v0/services/ad_group_criterion_service_client"
|
18
|
-
require "google/ads/googleads/v0/services/ad_group_service_client"
|
19
|
-
require "google/ads/googleads/v0/services/bidding_strategy_service_client"
|
20
|
-
require "google/ads/googleads/v0/services/campaign_bid_modifier_service_client"
|
21
|
-
require "google/ads/googleads/v0/services/campaign_budget_service_client"
|
22
|
-
require "google/ads/googleads/v0/services/campaign_criterion_service_client"
|
23
|
-
require "google/ads/googleads/v0/services/campaign_group_service_client"
|
24
|
-
require "google/ads/googleads/v0/services/campaign_service_client"
|
25
|
-
require "google/ads/googleads/v0/services/campaign_shared_set_service_client"
|
26
|
-
require "google/ads/googleads/v0/services/customer_service_client"
|
27
|
-
require "google/ads/googleads/v0/services/geo_target_constant_service_client"
|
28
|
-
require "google/ads/googleads/v0/services/google_ads_field_service_client"
|
29
|
-
require "google/ads/googleads/v0/services/google_ads_service_client"
|
30
|
-
require "google/ads/googleads/v0/services/keyword_view_service_client"
|
31
|
-
require "google/ads/googleads/v0/services/recommendation_service_client"
|
32
|
-
require "google/ads/googleads/v0/services/shared_criterion_service_client"
|
33
|
-
require "google/ads/googleads/v0/services/shared_set_service_client"
|
34
|
-
require "google/ads/googleads/v0/errors/errors_pb"
|
35
|
-
|
36
|
-
module Google
|
37
|
-
module Ads
|
38
|
-
module Googleads
|
39
|
-
# rubocop:disable LineLength
|
40
|
-
|
41
|
-
##
|
42
|
-
# # Ruby Client for Google Ads API ([Alpha](https://github.com/GoogleCloudPlatform/google-cloud-ruby#versioning))
|
43
|
-
#
|
44
|
-
# [Google Ads API][Product Documentation]:
|
45
|
-
# Manage your AdWords accounts, campaigns, and reports with this REST-based
|
46
|
-
# API.
|
47
|
-
# - [Product Documentation][]
|
48
|
-
#
|
49
|
-
# ## Quick Start
|
50
|
-
# In order to use this library, you first need to go through the following
|
51
|
-
# steps:
|
52
|
-
#
|
53
|
-
# 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
|
54
|
-
# 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
|
55
|
-
# 3. [Enable the Google Ads API.](https://console.cloud.google.com/apis/library/googleads.googleapis.com)
|
56
|
-
# 4. [Setup Authentication.](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud/master/guides/authentication)
|
57
|
-
#
|
58
|
-
# ### Next Steps
|
59
|
-
# - Read the [Google Ads API Product documentation][Product Documentation]
|
60
|
-
# to learn more about the product and see How-to Guides.
|
61
|
-
# - View this [repository's main README](https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/master/README.md)
|
62
|
-
# to see the full list of Cloud APIs that we cover.
|
63
|
-
#
|
64
|
-
# [Product Documentation]: https://cloud.google.com/googleads
|
65
|
-
#
|
66
|
-
# ## Enabling Logging
|
67
|
-
#
|
68
|
-
# To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
69
|
-
# The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
|
70
|
-
# or a [`Google::Cloud::Logging::Logger`](https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-logging/latest/google/cloud/logging/logger)
|
71
|
-
# that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
72
|
-
# and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
73
|
-
#
|
74
|
-
# Configuring a Ruby stdlib logger:
|
75
|
-
#
|
76
|
-
# ```ruby
|
77
|
-
# require "logger"
|
78
|
-
#
|
79
|
-
# module MyLogger
|
80
|
-
# LOGGER = Logger.new $stderr, level: Logger::WARN
|
81
|
-
# def logger
|
82
|
-
# LOGGER
|
83
|
-
# end
|
84
|
-
# end
|
85
|
-
#
|
86
|
-
# # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
87
|
-
# module GRPC
|
88
|
-
# extend MyLogger
|
89
|
-
# end
|
90
|
-
# ```
|
91
|
-
#
|
92
|
-
module V0
|
93
|
-
module Services
|
94
|
-
# rubocop:enable LineLength
|
95
|
-
|
96
|
-
module AdGroupAd
|
97
|
-
##
|
98
|
-
# Service to manage ads in an ad group.
|
99
|
-
#
|
100
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
101
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
102
|
-
# be many types.
|
103
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
104
|
-
# authenticating requests made by this client.
|
105
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
106
|
-
# credentials for this client.
|
107
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
108
|
-
# credentials for this client.
|
109
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
110
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
111
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
112
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
113
|
-
# metadata for requests, generally, to give OAuth credentials.
|
114
|
-
# @param scopes [Array<String>]
|
115
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
116
|
-
# an updater_proc is supplied.
|
117
|
-
# @param client_config [Hash]
|
118
|
-
# A Hash for call options for each method. See
|
119
|
-
# Google::Gax#construct_settings for the structure of
|
120
|
-
# this data. Falls back to the default config if not specified
|
121
|
-
# or the specified config is missing data points.
|
122
|
-
# @param timeout [Numeric]
|
123
|
-
# The default timeout, in seconds, for calls made through this client.
|
124
|
-
# @param metadata [Hash]
|
125
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
126
|
-
# @param exception_transformer [Proc]
|
127
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
128
|
-
# custom error handling.
|
129
|
-
def self.new \
|
130
|
-
credentials: nil,
|
131
|
-
scopes: nil,
|
132
|
-
client_config: nil,
|
133
|
-
timeout: nil,
|
134
|
-
metadata: nil,
|
135
|
-
exception_transformer: nil,
|
136
|
-
lib_name: nil,
|
137
|
-
lib_version: nil
|
138
|
-
kwargs = {
|
139
|
-
credentials: credentials,
|
140
|
-
scopes: scopes,
|
141
|
-
client_config: client_config,
|
142
|
-
timeout: timeout,
|
143
|
-
metadata: metadata,
|
144
|
-
exception_transformer: exception_transformer,
|
145
|
-
lib_name: lib_name,
|
146
|
-
lib_version: lib_version
|
147
|
-
}.select { |_, v| v != nil }
|
148
|
-
Google::Ads::Googleads::V0::Services::AdGroupAdServiceClient.new(**kwargs)
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
module AdGroupBidModifier
|
153
|
-
##
|
154
|
-
# Service to manage ad group bid modifiers.
|
155
|
-
#
|
156
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
157
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
158
|
-
# be many types.
|
159
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
160
|
-
# authenticating requests made by this client.
|
161
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
162
|
-
# credentials for this client.
|
163
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
164
|
-
# credentials for this client.
|
165
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
166
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
167
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
168
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
169
|
-
# metadata for requests, generally, to give OAuth credentials.
|
170
|
-
# @param scopes [Array<String>]
|
171
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
172
|
-
# an updater_proc is supplied.
|
173
|
-
# @param client_config [Hash]
|
174
|
-
# A Hash for call options for each method. See
|
175
|
-
# Google::Gax#construct_settings for the structure of
|
176
|
-
# this data. Falls back to the default config if not specified
|
177
|
-
# or the specified config is missing data points.
|
178
|
-
# @param timeout [Numeric]
|
179
|
-
# The default timeout, in seconds, for calls made through this client.
|
180
|
-
# @param metadata [Hash]
|
181
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
182
|
-
# @param exception_transformer [Proc]
|
183
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
184
|
-
# custom error handling.
|
185
|
-
def self.new \
|
186
|
-
credentials: nil,
|
187
|
-
scopes: nil,
|
188
|
-
client_config: nil,
|
189
|
-
timeout: nil,
|
190
|
-
metadata: nil,
|
191
|
-
exception_transformer: nil,
|
192
|
-
lib_name: nil,
|
193
|
-
lib_version: nil
|
194
|
-
kwargs = {
|
195
|
-
credentials: credentials,
|
196
|
-
scopes: scopes,
|
197
|
-
client_config: client_config,
|
198
|
-
timeout: timeout,
|
199
|
-
metadata: metadata,
|
200
|
-
exception_transformer: exception_transformer,
|
201
|
-
lib_name: lib_name,
|
202
|
-
lib_version: lib_version
|
203
|
-
}.select { |_, v| v != nil }
|
204
|
-
Google::Ads::Googleads::V0::Services::AdGroupBidModifierServiceClient.new(**kwargs)
|
205
|
-
end
|
206
|
-
end
|
207
|
-
|
208
|
-
module AdGroupCriterion
|
209
|
-
##
|
210
|
-
# Service to manage ad group criteria.
|
211
|
-
#
|
212
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
213
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
214
|
-
# be many types.
|
215
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
216
|
-
# authenticating requests made by this client.
|
217
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
218
|
-
# credentials for this client.
|
219
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
220
|
-
# credentials for this client.
|
221
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
222
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
223
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
224
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
225
|
-
# metadata for requests, generally, to give OAuth credentials.
|
226
|
-
# @param scopes [Array<String>]
|
227
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
228
|
-
# an updater_proc is supplied.
|
229
|
-
# @param client_config [Hash]
|
230
|
-
# A Hash for call options for each method. See
|
231
|
-
# Google::Gax#construct_settings for the structure of
|
232
|
-
# this data. Falls back to the default config if not specified
|
233
|
-
# or the specified config is missing data points.
|
234
|
-
# @param timeout [Numeric]
|
235
|
-
# The default timeout, in seconds, for calls made through this client.
|
236
|
-
# @param metadata [Hash]
|
237
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
238
|
-
# @param exception_transformer [Proc]
|
239
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
240
|
-
# custom error handling.
|
241
|
-
def self.new \
|
242
|
-
credentials: nil,
|
243
|
-
scopes: nil,
|
244
|
-
client_config: nil,
|
245
|
-
timeout: nil,
|
246
|
-
metadata: nil,
|
247
|
-
exception_transformer: nil,
|
248
|
-
lib_name: nil,
|
249
|
-
lib_version: nil
|
250
|
-
kwargs = {
|
251
|
-
credentials: credentials,
|
252
|
-
scopes: scopes,
|
253
|
-
client_config: client_config,
|
254
|
-
timeout: timeout,
|
255
|
-
metadata: metadata,
|
256
|
-
exception_transformer: exception_transformer,
|
257
|
-
lib_name: lib_name,
|
258
|
-
lib_version: lib_version
|
259
|
-
}.select { |_, v| v != nil }
|
260
|
-
Google::Ads::Googleads::V0::Services::AdGroupCriterionServiceClient.new(**kwargs)
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
module AdGroup
|
265
|
-
##
|
266
|
-
# Service to manage ad groups.
|
267
|
-
#
|
268
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
269
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
270
|
-
# be many types.
|
271
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
272
|
-
# authenticating requests made by this client.
|
273
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
274
|
-
# credentials for this client.
|
275
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
276
|
-
# credentials for this client.
|
277
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
278
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
279
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
280
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
281
|
-
# metadata for requests, generally, to give OAuth credentials.
|
282
|
-
# @param scopes [Array<String>]
|
283
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
284
|
-
# an updater_proc is supplied.
|
285
|
-
# @param client_config [Hash]
|
286
|
-
# A Hash for call options for each method. See
|
287
|
-
# Google::Gax#construct_settings for the structure of
|
288
|
-
# this data. Falls back to the default config if not specified
|
289
|
-
# or the specified config is missing data points.
|
290
|
-
# @param timeout [Numeric]
|
291
|
-
# The default timeout, in seconds, for calls made through this client.
|
292
|
-
# @param metadata [Hash]
|
293
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
294
|
-
# @param exception_transformer [Proc]
|
295
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
296
|
-
# custom error handling.
|
297
|
-
def self.new \
|
298
|
-
credentials: nil,
|
299
|
-
scopes: nil,
|
300
|
-
client_config: nil,
|
301
|
-
timeout: nil,
|
302
|
-
metadata: nil,
|
303
|
-
exception_transformer: nil,
|
304
|
-
lib_name: nil,
|
305
|
-
lib_version: nil
|
306
|
-
kwargs = {
|
307
|
-
credentials: credentials,
|
308
|
-
scopes: scopes,
|
309
|
-
client_config: client_config,
|
310
|
-
timeout: timeout,
|
311
|
-
metadata: metadata,
|
312
|
-
exception_transformer: exception_transformer,
|
313
|
-
lib_name: lib_name,
|
314
|
-
lib_version: lib_version
|
315
|
-
}.select { |_, v| v != nil }
|
316
|
-
Google::Ads::Googleads::V0::Services::AdGroupServiceClient.new(**kwargs)
|
317
|
-
end
|
318
|
-
end
|
319
|
-
|
320
|
-
module BiddingStrategy
|
321
|
-
##
|
322
|
-
# Service to manage bidding strategies.
|
323
|
-
#
|
324
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
325
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
326
|
-
# be many types.
|
327
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
328
|
-
# authenticating requests made by this client.
|
329
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
330
|
-
# credentials for this client.
|
331
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
332
|
-
# credentials for this client.
|
333
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
334
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
335
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
336
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
337
|
-
# metadata for requests, generally, to give OAuth credentials.
|
338
|
-
# @param scopes [Array<String>]
|
339
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
340
|
-
# an updater_proc is supplied.
|
341
|
-
# @param client_config [Hash]
|
342
|
-
# A Hash for call options for each method. See
|
343
|
-
# Google::Gax#construct_settings for the structure of
|
344
|
-
# this data. Falls back to the default config if not specified
|
345
|
-
# or the specified config is missing data points.
|
346
|
-
# @param timeout [Numeric]
|
347
|
-
# The default timeout, in seconds, for calls made through this client.
|
348
|
-
# @param metadata [Hash]
|
349
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
350
|
-
# @param exception_transformer [Proc]
|
351
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
352
|
-
# custom error handling.
|
353
|
-
def self.new \
|
354
|
-
credentials: nil,
|
355
|
-
scopes: nil,
|
356
|
-
client_config: nil,
|
357
|
-
timeout: nil,
|
358
|
-
metadata: nil,
|
359
|
-
exception_transformer: nil,
|
360
|
-
lib_name: nil,
|
361
|
-
lib_version: nil
|
362
|
-
kwargs = {
|
363
|
-
credentials: credentials,
|
364
|
-
scopes: scopes,
|
365
|
-
client_config: client_config,
|
366
|
-
timeout: timeout,
|
367
|
-
metadata: metadata,
|
368
|
-
exception_transformer: exception_transformer,
|
369
|
-
lib_name: lib_name,
|
370
|
-
lib_version: lib_version
|
371
|
-
}.select { |_, v| v != nil }
|
372
|
-
Google::Ads::Googleads::V0::Services::BiddingStrategyServiceClient.new(**kwargs)
|
373
|
-
end
|
374
|
-
end
|
375
|
-
|
376
|
-
module CampaignBidModifier
|
377
|
-
##
|
378
|
-
# Service to manage campaign bid modifiers.
|
379
|
-
#
|
380
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
381
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
382
|
-
# be many types.
|
383
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
384
|
-
# authenticating requests made by this client.
|
385
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
386
|
-
# credentials for this client.
|
387
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
388
|
-
# credentials for this client.
|
389
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
390
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
391
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
392
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
393
|
-
# metadata for requests, generally, to give OAuth credentials.
|
394
|
-
# @param scopes [Array<String>]
|
395
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
396
|
-
# an updater_proc is supplied.
|
397
|
-
# @param client_config [Hash]
|
398
|
-
# A Hash for call options for each method. See
|
399
|
-
# Google::Gax#construct_settings for the structure of
|
400
|
-
# this data. Falls back to the default config if not specified
|
401
|
-
# or the specified config is missing data points.
|
402
|
-
# @param timeout [Numeric]
|
403
|
-
# The default timeout, in seconds, for calls made through this client.
|
404
|
-
# @param metadata [Hash]
|
405
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
406
|
-
# @param exception_transformer [Proc]
|
407
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
408
|
-
# custom error handling.
|
409
|
-
def self.new \
|
410
|
-
credentials: nil,
|
411
|
-
scopes: nil,
|
412
|
-
client_config: nil,
|
413
|
-
timeout: nil,
|
414
|
-
metadata: nil,
|
415
|
-
exception_transformer: nil,
|
416
|
-
lib_name: nil,
|
417
|
-
lib_version: nil
|
418
|
-
kwargs = {
|
419
|
-
credentials: credentials,
|
420
|
-
scopes: scopes,
|
421
|
-
client_config: client_config,
|
422
|
-
timeout: timeout,
|
423
|
-
metadata: metadata,
|
424
|
-
exception_transformer: exception_transformer,
|
425
|
-
lib_name: lib_name,
|
426
|
-
lib_version: lib_version
|
427
|
-
}.select { |_, v| v != nil }
|
428
|
-
Google::Ads::Googleads::V0::Services::CampaignBidModifierServiceClient.new(**kwargs)
|
429
|
-
end
|
430
|
-
end
|
431
|
-
|
432
|
-
module CampaignBudget
|
433
|
-
##
|
434
|
-
# Service to manage campaign budgets.
|
435
|
-
#
|
436
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
437
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
438
|
-
# be many types.
|
439
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
440
|
-
# authenticating requests made by this client.
|
441
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
442
|
-
# credentials for this client.
|
443
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
444
|
-
# credentials for this client.
|
445
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
446
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
447
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
448
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
449
|
-
# metadata for requests, generally, to give OAuth credentials.
|
450
|
-
# @param scopes [Array<String>]
|
451
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
452
|
-
# an updater_proc is supplied.
|
453
|
-
# @param client_config [Hash]
|
454
|
-
# A Hash for call options for each method. See
|
455
|
-
# Google::Gax#construct_settings for the structure of
|
456
|
-
# this data. Falls back to the default config if not specified
|
457
|
-
# or the specified config is missing data points.
|
458
|
-
# @param timeout [Numeric]
|
459
|
-
# The default timeout, in seconds, for calls made through this client.
|
460
|
-
# @param metadata [Hash]
|
461
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
462
|
-
# @param exception_transformer [Proc]
|
463
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
464
|
-
# custom error handling.
|
465
|
-
def self.new \
|
466
|
-
credentials: nil,
|
467
|
-
scopes: nil,
|
468
|
-
client_config: nil,
|
469
|
-
timeout: nil,
|
470
|
-
metadata: nil,
|
471
|
-
exception_transformer: nil,
|
472
|
-
lib_name: nil,
|
473
|
-
lib_version: nil
|
474
|
-
kwargs = {
|
475
|
-
credentials: credentials,
|
476
|
-
scopes: scopes,
|
477
|
-
client_config: client_config,
|
478
|
-
timeout: timeout,
|
479
|
-
metadata: metadata,
|
480
|
-
exception_transformer: exception_transformer,
|
481
|
-
lib_name: lib_name,
|
482
|
-
lib_version: lib_version
|
483
|
-
}.select { |_, v| v != nil }
|
484
|
-
Google::Ads::Googleads::V0::Services::CampaignBudgetServiceClient.new(**kwargs)
|
485
|
-
end
|
486
|
-
end
|
487
|
-
|
488
|
-
module CampaignCriterion
|
489
|
-
##
|
490
|
-
# Service to manage campaign criteria.
|
491
|
-
#
|
492
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
493
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
494
|
-
# be many types.
|
495
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
496
|
-
# authenticating requests made by this client.
|
497
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
498
|
-
# credentials for this client.
|
499
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
500
|
-
# credentials for this client.
|
501
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
502
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
503
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
504
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
505
|
-
# metadata for requests, generally, to give OAuth credentials.
|
506
|
-
# @param scopes [Array<String>]
|
507
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
508
|
-
# an updater_proc is supplied.
|
509
|
-
# @param client_config [Hash]
|
510
|
-
# A Hash for call options for each method. See
|
511
|
-
# Google::Gax#construct_settings for the structure of
|
512
|
-
# this data. Falls back to the default config if not specified
|
513
|
-
# or the specified config is missing data points.
|
514
|
-
# @param timeout [Numeric]
|
515
|
-
# The default timeout, in seconds, for calls made through this client.
|
516
|
-
# @param metadata [Hash]
|
517
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
518
|
-
# @param exception_transformer [Proc]
|
519
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
520
|
-
# custom error handling.
|
521
|
-
def self.new \
|
522
|
-
credentials: nil,
|
523
|
-
scopes: nil,
|
524
|
-
client_config: nil,
|
525
|
-
timeout: nil,
|
526
|
-
metadata: nil,
|
527
|
-
exception_transformer: nil,
|
528
|
-
lib_name: nil,
|
529
|
-
lib_version: nil
|
530
|
-
kwargs = {
|
531
|
-
credentials: credentials,
|
532
|
-
scopes: scopes,
|
533
|
-
client_config: client_config,
|
534
|
-
timeout: timeout,
|
535
|
-
metadata: metadata,
|
536
|
-
exception_transformer: exception_transformer,
|
537
|
-
lib_name: lib_name,
|
538
|
-
lib_version: lib_version
|
539
|
-
}.select { |_, v| v != nil }
|
540
|
-
Google::Ads::Googleads::V0::Services::CampaignCriterionServiceClient.new(**kwargs)
|
541
|
-
end
|
542
|
-
end
|
543
|
-
|
544
|
-
module CampaignGroup
|
545
|
-
##
|
546
|
-
# Service to manage campaign groups.
|
547
|
-
#
|
548
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
549
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
550
|
-
# be many types.
|
551
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
552
|
-
# authenticating requests made by this client.
|
553
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
554
|
-
# credentials for this client.
|
555
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
556
|
-
# credentials for this client.
|
557
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
558
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
559
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
560
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
561
|
-
# metadata for requests, generally, to give OAuth credentials.
|
562
|
-
# @param scopes [Array<String>]
|
563
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
564
|
-
# an updater_proc is supplied.
|
565
|
-
# @param client_config [Hash]
|
566
|
-
# A Hash for call options for each method. See
|
567
|
-
# Google::Gax#construct_settings for the structure of
|
568
|
-
# this data. Falls back to the default config if not specified
|
569
|
-
# or the specified config is missing data points.
|
570
|
-
# @param timeout [Numeric]
|
571
|
-
# The default timeout, in seconds, for calls made through this client.
|
572
|
-
# @param metadata [Hash]
|
573
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
574
|
-
# @param exception_transformer [Proc]
|
575
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
576
|
-
# custom error handling.
|
577
|
-
def self.new \
|
578
|
-
credentials: nil,
|
579
|
-
scopes: nil,
|
580
|
-
client_config: nil,
|
581
|
-
timeout: nil,
|
582
|
-
metadata: nil,
|
583
|
-
exception_transformer: nil,
|
584
|
-
lib_name: nil,
|
585
|
-
lib_version: nil
|
586
|
-
kwargs = {
|
587
|
-
credentials: credentials,
|
588
|
-
scopes: scopes,
|
589
|
-
client_config: client_config,
|
590
|
-
timeout: timeout,
|
591
|
-
metadata: metadata,
|
592
|
-
exception_transformer: exception_transformer,
|
593
|
-
lib_name: lib_name,
|
594
|
-
lib_version: lib_version
|
595
|
-
}.select { |_, v| v != nil }
|
596
|
-
Google::Ads::Googleads::V0::Services::CampaignGroupServiceClient.new(**kwargs)
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
|
-
module Campaign
|
601
|
-
##
|
602
|
-
# Service to manage campaigns.
|
603
|
-
#
|
604
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
605
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
606
|
-
# be many types.
|
607
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
608
|
-
# authenticating requests made by this client.
|
609
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
610
|
-
# credentials for this client.
|
611
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
612
|
-
# credentials for this client.
|
613
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
614
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
615
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
616
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
617
|
-
# metadata for requests, generally, to give OAuth credentials.
|
618
|
-
# @param scopes [Array<String>]
|
619
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
620
|
-
# an updater_proc is supplied.
|
621
|
-
# @param client_config [Hash]
|
622
|
-
# A Hash for call options for each method. See
|
623
|
-
# Google::Gax#construct_settings for the structure of
|
624
|
-
# this data. Falls back to the default config if not specified
|
625
|
-
# or the specified config is missing data points.
|
626
|
-
# @param timeout [Numeric]
|
627
|
-
# The default timeout, in seconds, for calls made through this client.
|
628
|
-
# @param metadata [Hash]
|
629
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
630
|
-
# @param exception_transformer [Proc]
|
631
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
632
|
-
# custom error handling.
|
633
|
-
def self.new \
|
634
|
-
credentials: nil,
|
635
|
-
scopes: nil,
|
636
|
-
client_config: nil,
|
637
|
-
timeout: nil,
|
638
|
-
metadata: nil,
|
639
|
-
exception_transformer: nil,
|
640
|
-
lib_name: nil,
|
641
|
-
lib_version: nil
|
642
|
-
kwargs = {
|
643
|
-
credentials: credentials,
|
644
|
-
scopes: scopes,
|
645
|
-
client_config: client_config,
|
646
|
-
timeout: timeout,
|
647
|
-
metadata: metadata,
|
648
|
-
exception_transformer: exception_transformer,
|
649
|
-
lib_name: lib_name,
|
650
|
-
lib_version: lib_version
|
651
|
-
}.select { |_, v| v != nil }
|
652
|
-
Google::Ads::Googleads::V0::Services::CampaignServiceClient.new(**kwargs)
|
653
|
-
end
|
654
|
-
end
|
655
|
-
|
656
|
-
module CampaignSharedSet
|
657
|
-
##
|
658
|
-
# Service to manage campaign shared sets.
|
659
|
-
#
|
660
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
661
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
662
|
-
# be many types.
|
663
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
664
|
-
# authenticating requests made by this client.
|
665
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
666
|
-
# credentials for this client.
|
667
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
668
|
-
# credentials for this client.
|
669
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
670
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
671
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
672
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
673
|
-
# metadata for requests, generally, to give OAuth credentials.
|
674
|
-
# @param scopes [Array<String>]
|
675
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
676
|
-
# an updater_proc is supplied.
|
677
|
-
# @param client_config [Hash]
|
678
|
-
# A Hash for call options for each method. See
|
679
|
-
# Google::Gax#construct_settings for the structure of
|
680
|
-
# this data. Falls back to the default config if not specified
|
681
|
-
# or the specified config is missing data points.
|
682
|
-
# @param timeout [Numeric]
|
683
|
-
# The default timeout, in seconds, for calls made through this client.
|
684
|
-
# @param metadata [Hash]
|
685
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
686
|
-
# @param exception_transformer [Proc]
|
687
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
688
|
-
# custom error handling.
|
689
|
-
def self.new \
|
690
|
-
credentials: nil,
|
691
|
-
scopes: nil,
|
692
|
-
client_config: nil,
|
693
|
-
timeout: nil,
|
694
|
-
metadata: nil,
|
695
|
-
exception_transformer: nil,
|
696
|
-
lib_name: nil,
|
697
|
-
lib_version: nil
|
698
|
-
kwargs = {
|
699
|
-
credentials: credentials,
|
700
|
-
scopes: scopes,
|
701
|
-
client_config: client_config,
|
702
|
-
timeout: timeout,
|
703
|
-
metadata: metadata,
|
704
|
-
exception_transformer: exception_transformer,
|
705
|
-
lib_name: lib_name,
|
706
|
-
lib_version: lib_version
|
707
|
-
}.select { |_, v| v != nil }
|
708
|
-
Google::Ads::Googleads::V0::Services::CampaignSharedSetServiceClient.new(**kwargs)
|
709
|
-
end
|
710
|
-
end
|
711
|
-
|
712
|
-
module Customer
|
713
|
-
##
|
714
|
-
# Service to manage customers.
|
715
|
-
#
|
716
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
717
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
718
|
-
# be many types.
|
719
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
720
|
-
# authenticating requests made by this client.
|
721
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
722
|
-
# credentials for this client.
|
723
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
724
|
-
# credentials for this client.
|
725
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
726
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
727
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
728
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
729
|
-
# metadata for requests, generally, to give OAuth credentials.
|
730
|
-
# @param scopes [Array<String>]
|
731
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
732
|
-
# an updater_proc is supplied.
|
733
|
-
# @param client_config [Hash]
|
734
|
-
# A Hash for call options for each method. See
|
735
|
-
# Google::Gax#construct_settings for the structure of
|
736
|
-
# this data. Falls back to the default config if not specified
|
737
|
-
# or the specified config is missing data points.
|
738
|
-
# @param timeout [Numeric]
|
739
|
-
# The default timeout, in seconds, for calls made through this client.
|
740
|
-
# @param metadata [Hash]
|
741
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
742
|
-
# @param exception_transformer [Proc]
|
743
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
744
|
-
# custom error handling.
|
745
|
-
def self.new \
|
746
|
-
credentials: nil,
|
747
|
-
scopes: nil,
|
748
|
-
client_config: nil,
|
749
|
-
timeout: nil,
|
750
|
-
metadata: nil,
|
751
|
-
exception_transformer: nil,
|
752
|
-
lib_name: nil,
|
753
|
-
lib_version: nil
|
754
|
-
kwargs = {
|
755
|
-
credentials: credentials,
|
756
|
-
scopes: scopes,
|
757
|
-
client_config: client_config,
|
758
|
-
timeout: timeout,
|
759
|
-
metadata: metadata,
|
760
|
-
exception_transformer: exception_transformer,
|
761
|
-
lib_name: lib_name,
|
762
|
-
lib_version: lib_version
|
763
|
-
}.select { |_, v| v != nil }
|
764
|
-
Google::Ads::Googleads::V0::Services::CustomerServiceClient.new(**kwargs)
|
765
|
-
end
|
766
|
-
end
|
767
|
-
|
768
|
-
module GeoTargetConstant
|
769
|
-
##
|
770
|
-
# Service to fetch geo target constants.
|
771
|
-
#
|
772
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
773
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
774
|
-
# be many types.
|
775
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
776
|
-
# authenticating requests made by this client.
|
777
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
778
|
-
# credentials for this client.
|
779
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
780
|
-
# credentials for this client.
|
781
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
782
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
783
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
784
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
785
|
-
# metadata for requests, generally, to give OAuth credentials.
|
786
|
-
# @param scopes [Array<String>]
|
787
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
788
|
-
# an updater_proc is supplied.
|
789
|
-
# @param client_config [Hash]
|
790
|
-
# A Hash for call options for each method. See
|
791
|
-
# Google::Gax#construct_settings for the structure of
|
792
|
-
# this data. Falls back to the default config if not specified
|
793
|
-
# or the specified config is missing data points.
|
794
|
-
# @param timeout [Numeric]
|
795
|
-
# The default timeout, in seconds, for calls made through this client.
|
796
|
-
# @param metadata [Hash]
|
797
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
798
|
-
# @param exception_transformer [Proc]
|
799
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
800
|
-
# custom error handling.
|
801
|
-
def self.new \
|
802
|
-
credentials: nil,
|
803
|
-
scopes: nil,
|
804
|
-
client_config: nil,
|
805
|
-
timeout: nil,
|
806
|
-
metadata: nil,
|
807
|
-
exception_transformer: nil,
|
808
|
-
lib_name: nil,
|
809
|
-
lib_version: nil
|
810
|
-
kwargs = {
|
811
|
-
credentials: credentials,
|
812
|
-
scopes: scopes,
|
813
|
-
client_config: client_config,
|
814
|
-
timeout: timeout,
|
815
|
-
metadata: metadata,
|
816
|
-
exception_transformer: exception_transformer,
|
817
|
-
lib_name: lib_name,
|
818
|
-
lib_version: lib_version
|
819
|
-
}.select { |_, v| v != nil }
|
820
|
-
Google::Ads::Googleads::V0::Services::GeoTargetConstantServiceClient.new(**kwargs)
|
821
|
-
end
|
822
|
-
end
|
823
|
-
|
824
|
-
module GoogleAdsField
|
825
|
-
##
|
826
|
-
# Service to fetch Google Ads API fields.
|
827
|
-
#
|
828
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
829
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
830
|
-
# be many types.
|
831
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
832
|
-
# authenticating requests made by this client.
|
833
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
834
|
-
# credentials for this client.
|
835
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
836
|
-
# credentials for this client.
|
837
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
838
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
839
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
840
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
841
|
-
# metadata for requests, generally, to give OAuth credentials.
|
842
|
-
# @param scopes [Array<String>]
|
843
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
844
|
-
# an updater_proc is supplied.
|
845
|
-
# @param client_config [Hash]
|
846
|
-
# A Hash for call options for each method. See
|
847
|
-
# Google::Gax#construct_settings for the structure of
|
848
|
-
# this data. Falls back to the default config if not specified
|
849
|
-
# or the specified config is missing data points.
|
850
|
-
# @param timeout [Numeric]
|
851
|
-
# The default timeout, in seconds, for calls made through this client.
|
852
|
-
# @param metadata [Hash]
|
853
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
854
|
-
# @param exception_transformer [Proc]
|
855
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
856
|
-
# custom error handling.
|
857
|
-
def self.new \
|
858
|
-
credentials: nil,
|
859
|
-
scopes: nil,
|
860
|
-
client_config: nil,
|
861
|
-
timeout: nil,
|
862
|
-
metadata: nil,
|
863
|
-
exception_transformer: nil,
|
864
|
-
lib_name: nil,
|
865
|
-
lib_version: nil
|
866
|
-
kwargs = {
|
867
|
-
credentials: credentials,
|
868
|
-
scopes: scopes,
|
869
|
-
client_config: client_config,
|
870
|
-
timeout: timeout,
|
871
|
-
metadata: metadata,
|
872
|
-
exception_transformer: exception_transformer,
|
873
|
-
lib_name: lib_name,
|
874
|
-
lib_version: lib_version
|
875
|
-
}.select { |_, v| v != nil }
|
876
|
-
Google::Ads::Googleads::V0::Services::GoogleAdsFieldServiceClient.new(**kwargs)
|
877
|
-
end
|
878
|
-
end
|
879
|
-
|
880
|
-
module GoogleAds
|
881
|
-
##
|
882
|
-
# Service to fetch data and metrics across resources.
|
883
|
-
#
|
884
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
885
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
886
|
-
# be many types.
|
887
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
888
|
-
# authenticating requests made by this client.
|
889
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
890
|
-
# credentials for this client.
|
891
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
892
|
-
# credentials for this client.
|
893
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
894
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
895
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
896
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
897
|
-
# metadata for requests, generally, to give OAuth credentials.
|
898
|
-
# @param scopes [Array<String>]
|
899
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
900
|
-
# an updater_proc is supplied.
|
901
|
-
# @param client_config [Hash]
|
902
|
-
# A Hash for call options for each method. See
|
903
|
-
# Google::Gax#construct_settings for the structure of
|
904
|
-
# this data. Falls back to the default config if not specified
|
905
|
-
# or the specified config is missing data points.
|
906
|
-
# @param timeout [Numeric]
|
907
|
-
# The default timeout, in seconds, for calls made through this client.
|
908
|
-
# @param metadata [Hash]
|
909
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
910
|
-
# @param exception_transformer [Proc]
|
911
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
912
|
-
# custom error handling.
|
913
|
-
def self.new \
|
914
|
-
credentials: nil,
|
915
|
-
scopes: nil,
|
916
|
-
client_config: nil,
|
917
|
-
timeout: nil,
|
918
|
-
metadata: nil,
|
919
|
-
exception_transformer: nil,
|
920
|
-
lib_name: nil,
|
921
|
-
lib_version: nil
|
922
|
-
kwargs = {
|
923
|
-
credentials: credentials,
|
924
|
-
scopes: scopes,
|
925
|
-
client_config: client_config,
|
926
|
-
timeout: timeout,
|
927
|
-
metadata: metadata,
|
928
|
-
exception_transformer: exception_transformer,
|
929
|
-
lib_name: lib_name,
|
930
|
-
lib_version: lib_version
|
931
|
-
}.select { |_, v| v != nil }
|
932
|
-
Google::Ads::Googleads::V0::Services::GoogleAdsServiceClient.new(**kwargs)
|
933
|
-
end
|
934
|
-
end
|
935
|
-
|
936
|
-
module KeywordView
|
937
|
-
##
|
938
|
-
# Service to manage keyword views.
|
939
|
-
#
|
940
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
941
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
942
|
-
# be many types.
|
943
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
944
|
-
# authenticating requests made by this client.
|
945
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
946
|
-
# credentials for this client.
|
947
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
948
|
-
# credentials for this client.
|
949
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
950
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
951
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
952
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
953
|
-
# metadata for requests, generally, to give OAuth credentials.
|
954
|
-
# @param scopes [Array<String>]
|
955
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
956
|
-
# an updater_proc is supplied.
|
957
|
-
# @param client_config [Hash]
|
958
|
-
# A Hash for call options for each method. See
|
959
|
-
# Google::Gax#construct_settings for the structure of
|
960
|
-
# this data. Falls back to the default config if not specified
|
961
|
-
# or the specified config is missing data points.
|
962
|
-
# @param timeout [Numeric]
|
963
|
-
# The default timeout, in seconds, for calls made through this client.
|
964
|
-
# @param metadata [Hash]
|
965
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
966
|
-
# @param exception_transformer [Proc]
|
967
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
968
|
-
# custom error handling.
|
969
|
-
def self.new \
|
970
|
-
credentials: nil,
|
971
|
-
scopes: nil,
|
972
|
-
client_config: nil,
|
973
|
-
timeout: nil,
|
974
|
-
metadata: nil,
|
975
|
-
exception_transformer: nil,
|
976
|
-
lib_name: nil,
|
977
|
-
lib_version: nil
|
978
|
-
kwargs = {
|
979
|
-
credentials: credentials,
|
980
|
-
scopes: scopes,
|
981
|
-
client_config: client_config,
|
982
|
-
timeout: timeout,
|
983
|
-
metadata: metadata,
|
984
|
-
exception_transformer: exception_transformer,
|
985
|
-
lib_name: lib_name,
|
986
|
-
lib_version: lib_version
|
987
|
-
}.select { |_, v| v != nil }
|
988
|
-
Google::Ads::Googleads::V0::Services::KeywordViewServiceClient.new(**kwargs)
|
989
|
-
end
|
990
|
-
end
|
991
|
-
|
992
|
-
module Recommendation
|
993
|
-
##
|
994
|
-
# Service to manage recommendations.
|
995
|
-
#
|
996
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
997
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
998
|
-
# be many types.
|
999
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
1000
|
-
# authenticating requests made by this client.
|
1001
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
1002
|
-
# credentials for this client.
|
1003
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
1004
|
-
# credentials for this client.
|
1005
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
1006
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
1007
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
1008
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
1009
|
-
# metadata for requests, generally, to give OAuth credentials.
|
1010
|
-
# @param scopes [Array<String>]
|
1011
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
1012
|
-
# an updater_proc is supplied.
|
1013
|
-
# @param client_config [Hash]
|
1014
|
-
# A Hash for call options for each method. See
|
1015
|
-
# Google::Gax#construct_settings for the structure of
|
1016
|
-
# this data. Falls back to the default config if not specified
|
1017
|
-
# or the specified config is missing data points.
|
1018
|
-
# @param timeout [Numeric]
|
1019
|
-
# The default timeout, in seconds, for calls made through this client.
|
1020
|
-
# @param metadata [Hash]
|
1021
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
1022
|
-
# @param exception_transformer [Proc]
|
1023
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
1024
|
-
# custom error handling.
|
1025
|
-
def self.new \
|
1026
|
-
credentials: nil,
|
1027
|
-
scopes: nil,
|
1028
|
-
client_config: nil,
|
1029
|
-
timeout: nil,
|
1030
|
-
metadata: nil,
|
1031
|
-
exception_transformer: nil,
|
1032
|
-
lib_name: nil,
|
1033
|
-
lib_version: nil
|
1034
|
-
kwargs = {
|
1035
|
-
credentials: credentials,
|
1036
|
-
scopes: scopes,
|
1037
|
-
client_config: client_config,
|
1038
|
-
timeout: timeout,
|
1039
|
-
metadata: metadata,
|
1040
|
-
exception_transformer: exception_transformer,
|
1041
|
-
lib_name: lib_name,
|
1042
|
-
lib_version: lib_version
|
1043
|
-
}.select { |_, v| v != nil }
|
1044
|
-
Google::Ads::Googleads::V0::Services::RecommendationServiceClient.new(**kwargs)
|
1045
|
-
end
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
module SharedCriterion
|
1049
|
-
##
|
1050
|
-
# Service to manage shared criteria.
|
1051
|
-
#
|
1052
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
1053
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
1054
|
-
# be many types.
|
1055
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
1056
|
-
# authenticating requests made by this client.
|
1057
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
1058
|
-
# credentials for this client.
|
1059
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
1060
|
-
# credentials for this client.
|
1061
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
1062
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
1063
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
1064
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
1065
|
-
# metadata for requests, generally, to give OAuth credentials.
|
1066
|
-
# @param scopes [Array<String>]
|
1067
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
1068
|
-
# an updater_proc is supplied.
|
1069
|
-
# @param client_config [Hash]
|
1070
|
-
# A Hash for call options for each method. See
|
1071
|
-
# Google::Gax#construct_settings for the structure of
|
1072
|
-
# this data. Falls back to the default config if not specified
|
1073
|
-
# or the specified config is missing data points.
|
1074
|
-
# @param timeout [Numeric]
|
1075
|
-
# The default timeout, in seconds, for calls made through this client.
|
1076
|
-
# @param metadata [Hash]
|
1077
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
1078
|
-
# @param exception_transformer [Proc]
|
1079
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
1080
|
-
# custom error handling.
|
1081
|
-
def self.new \
|
1082
|
-
credentials: nil,
|
1083
|
-
scopes: nil,
|
1084
|
-
client_config: nil,
|
1085
|
-
timeout: nil,
|
1086
|
-
metadata: nil,
|
1087
|
-
exception_transformer: nil,
|
1088
|
-
lib_name: nil,
|
1089
|
-
lib_version: nil
|
1090
|
-
kwargs = {
|
1091
|
-
credentials: credentials,
|
1092
|
-
scopes: scopes,
|
1093
|
-
client_config: client_config,
|
1094
|
-
timeout: timeout,
|
1095
|
-
metadata: metadata,
|
1096
|
-
exception_transformer: exception_transformer,
|
1097
|
-
lib_name: lib_name,
|
1098
|
-
lib_version: lib_version
|
1099
|
-
}.select { |_, v| v != nil }
|
1100
|
-
Google::Ads::Googleads::V0::Services::SharedCriterionServiceClient.new(**kwargs)
|
1101
|
-
end
|
1102
|
-
end
|
1103
|
-
|
1104
|
-
module SharedSet
|
1105
|
-
##
|
1106
|
-
# Service to manage shared sets.
|
1107
|
-
#
|
1108
|
-
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
1109
|
-
# Provides the means for authenticating requests made by the client. This parameter can
|
1110
|
-
# be many types.
|
1111
|
-
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
1112
|
-
# authenticating requests made by this client.
|
1113
|
-
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
1114
|
-
# credentials for this client.
|
1115
|
-
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
1116
|
-
# credentials for this client.
|
1117
|
-
# A `GRPC::Core::Channel` will be used to make calls through.
|
1118
|
-
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
1119
|
-
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
1120
|
-
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
1121
|
-
# metadata for requests, generally, to give OAuth credentials.
|
1122
|
-
# @param scopes [Array<String>]
|
1123
|
-
# The OAuth scopes for this service. This parameter is ignored if
|
1124
|
-
# an updater_proc is supplied.
|
1125
|
-
# @param client_config [Hash]
|
1126
|
-
# A Hash for call options for each method. See
|
1127
|
-
# Google::Gax#construct_settings for the structure of
|
1128
|
-
# this data. Falls back to the default config if not specified
|
1129
|
-
# or the specified config is missing data points.
|
1130
|
-
# @param timeout [Numeric]
|
1131
|
-
# The default timeout, in seconds, for calls made through this client.
|
1132
|
-
# @param metadata [Hash]
|
1133
|
-
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
1134
|
-
# @param exception_transformer [Proc]
|
1135
|
-
# An optional proc that intercepts any exceptions raised during an API call to inject
|
1136
|
-
# custom error handling.
|
1137
|
-
def self.new \
|
1138
|
-
credentials: nil,
|
1139
|
-
scopes: nil,
|
1140
|
-
client_config: nil,
|
1141
|
-
timeout: nil,
|
1142
|
-
metadata: nil,
|
1143
|
-
exception_transformer: nil,
|
1144
|
-
lib_name: nil,
|
1145
|
-
lib_version: nil
|
1146
|
-
kwargs = {
|
1147
|
-
credentials: credentials,
|
1148
|
-
scopes: scopes,
|
1149
|
-
client_config: client_config,
|
1150
|
-
timeout: timeout,
|
1151
|
-
metadata: metadata,
|
1152
|
-
exception_transformer: exception_transformer,
|
1153
|
-
lib_name: lib_name,
|
1154
|
-
lib_version: lib_version
|
1155
|
-
}.select { |_, v| v != nil }
|
1156
|
-
Google::Ads::Googleads::V0::Services::SharedSetServiceClient.new(**kwargs)
|
1157
|
-
end
|
1158
|
-
end
|
1159
|
-
end
|
1160
|
-
end
|
1161
|
-
end
|
1162
|
-
end
|
1163
|
-
end
|